mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Fix for Issue 1145 - Issue introduced with VSync changed broke Dynasty Warrior games, this should resolve it. Id swapped the VSync order around but still swapped which Field first, so it started out of sync, silly me!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5145 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -406,6 +406,8 @@ static __fi void VSyncEnd(u32 sCycle)
|
||||
if (gates) rcntEndGate(true, sCycle); // Counters End Gate Code
|
||||
frameLimit(); // limit FPS
|
||||
|
||||
//Do this here, breaks Dynasty Warriors otherwise.
|
||||
CSRreg.SwapField();
|
||||
// This doesn't seem to be needed here. Games only seem to break with regard to the
|
||||
// vsyncstart irq.
|
||||
//cpuRegs.eCycle[30] = 2;
|
||||
|
||||
@@ -426,7 +426,7 @@ __fi void gsFrameSkip()
|
||||
void gsPostVsyncStart()
|
||||
{
|
||||
//gifUnit.FlushToMTGS(); // Needed for some (broken?) homebrew game loaders
|
||||
CSRreg.SwapField();
|
||||
|
||||
GetMTGS().PostVsyncStart();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user