SingleCore: Move Host Timing from a sepparate thread to main cpu thread.
This commit is contained in:
parent
5d3a2be04f
commit
f2ade343e2
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