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

Sonic Advance games.
This commit is contained in:
DJRobX 2007-11-09 05:20:45 +00:00
parent bff2a451e4
commit 80e169d9fb
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;
}
@ -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();