summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-31 01:37:18 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-22 03:45:05 +0200
commit3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e (patch)
treeaff7d6e612b689ac429310099e59c485ac8a007b /src/core/core.cpp
parentcore: Update RegisterCheatList for new VM (diff)
downloadyuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar.gz
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar.bz2
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar.lz
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar.xz
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.tar.zst
yuzu-3e729c13cc70af6fb8fef6e38bd5deba7a8a0d6e.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 67ec8d4b9..fc7039421 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);