mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fifo: Replace busy loop with condition variable
This commit is contained in:
parent
ea50dc240d
commit
279c657cda
3 changed files with 54 additions and 38 deletions
|
@ -322,10 +322,7 @@ void GatherPipeBursted()
|
|||
ProcessFifoAllDistance();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
RunGpu();
|
||||
}
|
||||
RunGpu();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -375,6 +372,7 @@ void UpdateInterrupts(u64 userdata)
|
|||
}
|
||||
CoreTiming::ForceExceptionCheck(0);
|
||||
interruptWaiting = false;
|
||||
RunGpu();
|
||||
}
|
||||
|
||||
void UpdateInterruptsFromVideoBackend(u64 userdata)
|
||||
|
@ -551,5 +549,7 @@ void Update()
|
|||
|
||||
if (fifo.isGpuReadingData)
|
||||
Common::AtomicAdd(VITicks, SystemTimers::GetTicksPerSecond() / 10000);
|
||||
|
||||
RunGpu();
|
||||
}
|
||||
} // end of namespace CommandProcessor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue