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:
refraction 2012-04-06 14:00:12 +00:00
parent 20b0627e8e
commit 8b563888f8
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -426,7 +426,7 @@ __fi void gsFrameSkip()
void gsPostVsyncStart()
{
//gifUnit.FlushToMTGS(); // Needed for some (broken?) homebrew game loaders
CSRreg.SwapField();
GetMTGS().PostVsyncStart();
}