mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
CoreTiming: Pass Core::System to Events.
This commit is contained in:
@ -595,12 +595,12 @@ static int WaitForGpuThread(int ticks)
|
||||
return GPU_TIME_SLOT_SIZE;
|
||||
}
|
||||
|
||||
static void SyncGPUCallback(u64 ticks, s64 cyclesLate)
|
||||
static void SyncGPUCallback(Core::System& system, u64 ticks, s64 cyclesLate)
|
||||
{
|
||||
ticks += cyclesLate;
|
||||
int next = -1;
|
||||
|
||||
if (!Core::System::GetInstance().IsDualCoreMode() || s_use_deterministic_gpu_thread)
|
||||
if (!system.IsDualCoreMode() || s_use_deterministic_gpu_thread)
|
||||
{
|
||||
next = RunGpuOnCpu((int)ticks);
|
||||
}
|
||||
|
Reference in New Issue
Block a user