VERY experimental Nintendo Switch 2 emulator
C++
core: Initialize cheats after load to avoid VMManager crash
Zach Hilman0d2e645cb2c0
diff --git a/src/core/core.cpp b/src/core/core.cppindex 67ec8d4b98..fc70394213 100644--- a/src/core/core.cpp+++ b/src/core/core.cpp@@ -205,6 +205,11 @@ struct System::Impl {gpu_core->Start();cpu_core_manager.StartThreads();+ // Initialize cheat engine+ if (cheat_engine) {+ cheat_engine->Initialize();+ }+// All threads are started, begin main process execution, now that we're in the clear.main_process->Run(load_parameters->main_thread_priority,load_parameters->main_thread_stack_size);