From 7f2b2038c600f5a482ee84b04b922637f757c649 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 13 Nov 2018 20:20:50 +0200 Subject: Fixed windows build and added const instruction --- spasm/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spasm/src/main.cpp') diff --git a/spasm/src/main.cpp b/spasm/src/main.cpp index 17bb322..cc2c831 100644 --- a/spasm/src/main.cpp +++ b/spasm/src/main.cpp @@ -23,7 +23,8 @@ int main(int argc, const char* argv[]) std::cout << std::hex << (int)bytecode[i] << ' '; std::cout << std::endl; - Spasm::Spasm vm(len, bytecode.get()); + Spasm::Spasm vm; + vm.Initialize(len, bytecode.get()); vm.run(); -- cgit v1.3.1-23-gd82d