mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Alternative fix: promote cycleslate to an s64 everywhere.
Also changed a few functions to be static.
This commit is contained in:
@ -548,7 +548,7 @@ static int Update(int ticks)
|
||||
return param.iSyncGpuMaxDistance - s_sync_ticks.load();
|
||||
}
|
||||
|
||||
static void SyncGPUCallback(u64 userdata, int cyclesLate)
|
||||
static void SyncGPUCallback(u64 userdata, s64 cyclesLate)
|
||||
{
|
||||
u64 now = CoreTiming::GetTicks();
|
||||
int next = Fifo::Update((int)(now - s_last_sync_gpu_tick));
|
||||
|
Reference in New Issue
Block a user