SC-127 board (Wario Land II pirate Kirby Hack) prot read, fixes random crashes and glitches

This commit is contained in:
CaH4e3 2015-01-25 14:00:17 +00:00
parent 7936b92495
commit 53544c7f79
1 changed files with 5 additions and 0 deletions

View File

@ -69,9 +69,14 @@ static DECLFW(UNLSC127Write) {
Sync();
}
static DECLFR(UNLSC127ProtRead) {
return 0x20;
}
static void UNLSC127Power(void) {
IRQCount = IRQa = 0;
Sync();
SetReadHandler(0x5800, 0x5800, UNLSC127ProtRead);
SetReadHandler(0x6000, 0x7fff, CartBR);
SetWriteHandler(0x6000, 0x7fff, CartBW);
SetReadHandler(0x8000, 0xFFFF, CartBR);