Temporarily remove StartGPLink() function ... because it breaks

Sonic Advance games.



git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@49 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
DJRobX 2007-11-09 05:20:45 +00:00
parent 3a344edb3c
commit 951c127161
1 changed files with 8 additions and 7 deletions

View File

@ -2574,7 +2574,7 @@ bool CPUCheckDMA(int reason, int dmamask)
}
}
}
cpuDmaHack = false;
//cpuDmaHack = false;
return res;
}
@ -2999,7 +2999,7 @@ void CPUUpdateRegister(u32 address, u16 value)
break;
case 0x128:
StartLink(value); // Link
/* if(value & 0x80) {
/* if(value & 0x80) {
value &= 0xff7f;
if(value & 1 && (value & 0x4000)) {
UPDATE_REG(0x12a, 0xFF);
@ -3008,7 +3008,7 @@ void CPUUpdateRegister(u32 address, u16 value)
value &= 0x7f7f;
}
}
UPDATE_REG(0x128, value); */
UPDATE_REG(0x128, value);*/
break;
case 0x12a:
if(lspeed)
@ -3022,9 +3022,10 @@ void CPUUpdateRegister(u32 address, u16 value)
case 0x132:
UPDATE_REG(0x132, value & 0xC3FF);
break;
/* breaks sonic games
case 0x134:
StartGPLink(value);
break;
break;*/
case 0x140:
StartJOYLink(value);
break;
@ -3857,7 +3858,7 @@ void CPULoop(int ticks)
int timerOverflow = 0;
// variable used by the CPU core
cpuTotalTicks = 0;
if(cpuDmaHack2)
// if(cpuDmaHack2)
cpuNextEvent = 1;
cpuBreakLoop = false;
cpuNextEvent = CPUUpdateTicks();