mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix h/vsync counters on mode change/sync.
This commit is contained in:
parent
4b49c8bd6e
commit
08bae3da2e
|
@ -461,7 +461,9 @@ u32 UpdateVSyncRate()
|
||||||
|
|
||||||
hsyncCounter.CycleT = vSyncInfo.hRender; // Amount of cycles before the counter will be updated
|
hsyncCounter.CycleT = vSyncInfo.hRender; // Amount of cycles before the counter will be updated
|
||||||
vsyncCounter.CycleT = vSyncInfo.Render; // Amount of cycles before the counter will be updated
|
vsyncCounter.CycleT = vSyncInfo.Render; // Amount of cycles before the counter will be updated
|
||||||
|
hsyncCounter.sCycle = cpuRegs.cycle;
|
||||||
|
vsyncCounter.sCycle = cpuRegs.cycle;
|
||||||
|
vsyncCounter.Mode = MODE_VRENDER;
|
||||||
cpuRcntSet();
|
cpuRcntSet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue