diff --git a/3rd_Party/rem b/3rd_Party/rem index fb9d980..cf9cff6 160000 --- a/3rd_Party/rem +++ b/3rd_Party/rem @@ -1 +1 @@ -Subproject commit fb9d9807779808c8055d66e27b0929e3c33a0cce +Subproject commit cf9cff6039b68239cec122b425eba04f9acfcd9c diff --git a/core/JIT/jit.cpp b/core/JIT/jit.cpp index 8daa5dc..8222a14 100644 --- a/core/JIT/jit.cpp +++ b/core/JIT/jit.cpp @@ -2,6 +2,8 @@ #include "jit.h" +#include + #ifdef WIN32 #include #else @@ -12,8 +14,11 @@ using JitFunc = void (*)(); -void JIT::translate_and_run(CPU &cpu) -{ +void JIT::translate_and_run(CPU &cpu) { + +// TODO: Create REM Context +create_rem_context(nullptr, nullptr, nullptr, nullptr, nullptr); + #ifdef WIN32 u8 *code = (u8 *)VirtualAlloc(NULL, 64, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); #else