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/hle/kernel/kernel.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/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index d2f5f9bf2..a19cd7a1f 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -303,7 +303,7 @@ struct KernelCore::Impl { | |||
| 303 | } | 303 | } |
| 304 | const Kernel::Scheduler& sched = cores[result.host_handle].Scheduler(); | 304 | const Kernel::Scheduler& sched = cores[result.host_handle].Scheduler(); |
| 305 | const Kernel::Thread* current = sched.GetCurrentThread(); | 305 | const Kernel::Thread* current = sched.GetCurrentThread(); |
| 306 | if (current != nullptr) { | 306 | if (current != nullptr && !current->IsPhantomMode()) { |
| 307 | result.guest_handle = current->GetGlobalHandle(); | 307 | result.guest_handle = current->GetGlobalHandle(); |
| 308 | } else { | 308 | } else { |
| 309 | result.guest_handle = InvalidHandle; | 309 | result.guest_handle = InvalidHandle; |