mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
Fifo: Replace busy loop with condition variable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user