mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
SingleCore: Move Host Timing from a sepparate thread to main cpu thread.
This commit is contained in:
parent
1bcceea736
commit
287ea2d3b4
7 changed files with 48 additions and 10 deletions
|
@ -303,7 +303,7 @@ struct KernelCore::Impl {
|
|||
}
|
||||
const Kernel::Scheduler& sched = cores[result.host_handle].Scheduler();
|
||||
const Kernel::Thread* current = sched.GetCurrentThread();
|
||||
if (current != nullptr) {
|
||||
if (current != nullptr && !current->IsPhantomMode()) {
|
||||
result.guest_handle = current->GetGlobalHandle();
|
||||
} else {
|
||||
result.guest_handle = InvalidHandle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue