summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-17 09:08:15 +0200
committerGitHub <noreply@github.com>2022-06-17 09:08:15 +0200
commit5b2b15091f38eb169648ddad4ae32f03354d19cd (patch)
tree5da9f8475543baf027cb0885bb35f06258c48d06 /src/yuzu_cmd
parentMerge pull request #8472 from german77/tace (diff)
parentcore: fix initialization in single core, sync GPU mode (diff)
downloadyuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.gz
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.bz2
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.lz
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.xz
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.zst
yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index e840732e2..cb301e78b 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -21,6 +21,7 @@
#include "common/string_util.h"
#include "common/telemetry.h"
#include "core/core.h"
+#include "core/cpu_manager.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/registered_cache.h"
#include "core/file_sys/vfs_real.h"
@@ -216,6 +217,7 @@ int main(int argc, char** argv) {
// Core is loaded, start the GPU (makes the GPU contexts current to this thread)
system.GPU().Start();
+ system.GetCpuManager().OnGpuReady();
if (Settings::values.use_disk_shader_cache.GetValue()) {
system.Renderer().ReadRasterizer()->LoadDiskResources(