diff options
| author | 2020-03-19 13:09:32 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:52 -0400 | |
| commit | f2ade343e2492c213ac93680a55e9bed712dac9a (patch) | |
| tree | 30bce0eb24a0b2b38310f07fa37c7ba881fc8535 /src/core/core.cpp | |
| parent | GUI: Make multicore only work with Async and add GUI for multicore. (diff) | |
| download | yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.gz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.xz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.zip | |
SingleCore: Move Host Timing from a sepparate thread to main cpu thread.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 0f0eb885a..2ca9c0be5 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -158,6 +158,8 @@ struct System::Impl { | |||
| 158 | kernel.SetMulticore(is_multicore); | 158 | kernel.SetMulticore(is_multicore); |
| 159 | cpu_manager.SetMulticore(is_multicore); | 159 | cpu_manager.SetMulticore(is_multicore); |
| 160 | cpu_manager.SetAsyncGpu(is_async_gpu); | 160 | cpu_manager.SetAsyncGpu(is_async_gpu); |
| 161 | core_timing.SetMulticore(is_multicore); | ||
| 162 | cpu_manager.SetRenderWindow(emu_window); | ||
| 161 | 163 | ||
| 162 | core_timing.Initialize([&system]() { system.RegisterHostThread(); }); | 164 | core_timing.Initialize([&system]() { system.RegisterHostThread(); }); |
| 163 | kernel.Initialize(); | 165 | kernel.Initialize(); |