mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 14:28:34 +00:00
Fifo: Rewrite SyncGpu
The new implementation has 3 options: SyncGpuMaxDistance SyncGpuMinDistance SyncGpuOverclock The MaxDistance controlls how many CPU cycles the CPU is allowed to be in front of the GPU. Too low values will slow down extremly, too high values are as unsynchronized and half of the games will crash. The -MinDistance (negative) set how many cycles the GPU is allowed to be in front of the CPU. As we are used to emulate an infinitiv fast GPU, this may be set to any high (negative) number. The last parameter is to hack a faster (>1.0) or slower(<1.0) GPU. As we don't emulate GPU timing very well (eg skip the timings of the pixel stage completely), an overclock factor of ~0.5 is often much more accurate than 1.0
This commit is contained in:
parent
5a0daef7f0
commit
d31bed8b79
12 changed files with 126 additions and 110 deletions
|
@ -245,9 +245,9 @@ void VideoBackendHardware::Video_GatherPipeBursted()
|
|||
CommandProcessor::GatherPipeBursted();
|
||||
}
|
||||
|
||||
void VideoBackendHardware::Video_Sync()
|
||||
int VideoBackendHardware::Video_Sync(int ticks)
|
||||
{
|
||||
FlushGpu();
|
||||
return Fifo_Update(ticks);
|
||||
}
|
||||
|
||||
void VideoBackendHardware::RegisterCPMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue