Interpreter: Move global state into class, move instance to System.

This commit is contained in:
Admiral H. Curtiss committed 2023-03-19 03:05:20 +01:00
1 parent 919182eda2
commit 3d67c11b91
11 files changed
+80 -53

No files matched your search

@@ -109,7 +109,8 @@ void CachedInterpreter::ExecuteOneBlock()
break;
case Instruction::Type::Interpreter:
code->interpreter_callback(*Interpreter::getInstance(), UGeckoInstruction(code->data));
code->interpreter_callback(Core::System::GetInstance().GetInterpreter(),
UGeckoInstruction(code->data));
break;
default: