Merge branch 'update' of https://github.com/retro-wertz/libretro-fceumm into update
This commit is contained in:
@@ -50,7 +50,7 @@ static void FP_FASTAPASS(1) RAMBO1IRQHook(int a) {
|
|||||||
while (smallcount >= 4) {
|
while (smallcount >= 4) {
|
||||||
smallcount -= 4;
|
smallcount -= 4;
|
||||||
IRQCount--;
|
IRQCount--;
|
||||||
if(IRQCount == 0xFF)
|
if (IRQCount == 0xFF)
|
||||||
if (IRQa) X6502_IRQBegin(FCEU_IQEXT);
|
if (IRQa) X6502_IRQBegin(FCEU_IQEXT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -85,9 +85,9 @@ static void Sync(void) {
|
|||||||
cwrap(0x1400, regs[3]);
|
cwrap(0x1400, regs[3]);
|
||||||
cwrap(0x1800, regs[4]);
|
cwrap(0x1800, regs[4]);
|
||||||
cwrap(0x1C00, regs[5]);
|
cwrap(0x1C00, regs[5]);
|
||||||
setprg8(0x8000,regs[6]);
|
setprg8(0x8000, regs[6]);
|
||||||
setprg8(0xA000,regs[7]);
|
setprg8(0xA000, regs[7]);
|
||||||
setprg8(0xC000,regs[10]);
|
setprg8(0xC000, regs[10]);
|
||||||
setprg8(0xE000, ~0);
|
setprg8(0xE000, ~0);
|
||||||
if (!_isM158)
|
if (!_isM158)
|
||||||
setmirror(mirr);
|
setmirror(mirr);
|
||||||
@@ -141,7 +141,7 @@ static void RAMBO1Power(void) {
|
|||||||
Sync();
|
Sync();
|
||||||
if (!_isM158) setmirror(1);
|
if (!_isM158) setmirror(1);
|
||||||
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
||||||
SetWriteHandler(0x8000,0xFFFF, RAMBO1_Write);
|
SetWriteHandler(0x8000, 0xFFFF, RAMBO1_Write);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void StateRestore(int version) {
|
static void StateRestore(int version) {
|
||||||
|
|||||||
Reference in New Issue
Block a user