diff options
| author | 2022-06-17 03:08:15 -0400 | |
|---|---|---|
| committer | 2022-06-17 03:08:15 -0400 | |
| commit | 5b2b15091f38eb169648ddad4ae32f03354d19cd (patch) | |
| tree | 5da9f8475543baf027cb0885bb35f06258c48d06 /src/yuzu_cmd/yuzu.cpp | |
| parent | Merge pull request #8472 from german77/tace (diff) | |
| parent | core: fix initialization in single core, sync GPU mode (diff) | |
| download | yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.gz yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.tar.xz yuzu-5b2b15091f38eb169648ddad4ae32f03354d19cd.zip | |
Merge pull request #8476 from liamwhite/gpu-wasnt-ready
core: fix initialization in single core, sync GPU mode
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 2 |
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 @@ | |||
| 21 | #include "common/string_util.h" | 21 | #include "common/string_util.h" |
| 22 | #include "common/telemetry.h" | 22 | #include "common/telemetry.h" |
| 23 | #include "core/core.h" | 23 | #include "core/core.h" |
| 24 | #include "core/cpu_manager.h" | ||
| 24 | #include "core/crypto/key_manager.h" | 25 | #include "core/crypto/key_manager.h" |
| 25 | #include "core/file_sys/registered_cache.h" | 26 | #include "core/file_sys/registered_cache.h" |
| 26 | #include "core/file_sys/vfs_real.h" | 27 | #include "core/file_sys/vfs_real.h" |
| @@ -216,6 +217,7 @@ int main(int argc, char** argv) { | |||
| 216 | 217 | ||
| 217 | // Core is loaded, start the GPU (makes the GPU contexts current to this thread) | 218 | // Core is loaded, start the GPU (makes the GPU contexts current to this thread) |
| 218 | system.GPU().Start(); | 219 | system.GPU().Start(); |
| 220 | system.GetCpuManager().OnGpuReady(); | ||
| 219 | 221 | ||
| 220 | if (Settings::values.use_disk_shader_cache.GetValue()) { | 222 | if (Settings::values.use_disk_shader_cache.GetValue()) { |
| 221 | system.Renderer().ReadRasterizer()->LoadDiskResources( | 223 | system.Renderer().ReadRasterizer()->LoadDiskResources( |