Removed VSync INTC timing hack, could possibly sort others too

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@464 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2009-02-09 22:13:22 +00:00
parent 6ebfae8ef1
commit 2247e97f20
2 changed files with 5 additions and 3 deletions

View File

@ -427,7 +427,9 @@ static __forceinline void VSyncStart(u32 sCycle)
// (I haven't investigated why Dark Cloud freezes on larger values) // (I haven't investigated why Dark Cloud freezes on larger values)
// (all testing done using the recompiler -- dunno how the ints respond yet) // (all testing done using the recompiler -- dunno how the ints respond yet)
cpuRegs.eCycle[30] = 2; //cpuRegs.eCycle[30] = 2;
// Should no longer be required (Refraction)
} }
static __forceinline void VSyncEnd(u32 sCycle) static __forceinline void VSyncEnd(u32 sCycle)

View File

@ -579,7 +579,7 @@ void cpuTestINTCInts()
cpuRegs.interrupt|= 1 << 30; cpuRegs.interrupt|= 1 << 30;
cpuRegs.sCycle[30] = cpuRegs.cycle; cpuRegs.sCycle[30] = cpuRegs.cycle;
cpuRegs.eCycle[30] = 0; cpuRegs.eCycle[30] = 4; //Needs to be 4 to account for bus delays/pipelines etc
// only set the next branch delta if the exception won't be handled for // only set the next branch delta if the exception won't be handled for
// the current branch... // the current branch...
@ -602,7 +602,7 @@ __forceinline void cpuTestDMACInts()
cpuRegs.interrupt|= 1 << 31; cpuRegs.interrupt|= 1 << 31;
cpuRegs.sCycle[31] = cpuRegs.cycle; cpuRegs.sCycle[31] = cpuRegs.cycle;
cpuRegs.eCycle[31] = 0; cpuRegs.eCycle[31] = 4; //Needs to be 4 to account for bus delays/pipelines etc
// only set the next branch delta if the exception won't be handled for // only set the next branch delta if the exception won't be handled for
// the current branch... // the current branch...