From 605b88f842d610779e885091cad328fe02556df3 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Wed, 10 May 2017 04:16:56 +0800 Subject: [PATCH] Update tengen.c --- src/boards/tengen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/tengen.c b/src/boards/tengen.c index 26fdf0c..ff254a7 100644 --- a/src/boards/tengen.c +++ b/src/boards/tengen.c @@ -50,7 +50,7 @@ static void FP_FASTAPASS(1) RAMBO1IRQHook(int a) { while (smallcount >= 4) { smallcount -= 4; IRQCount--; - if(IRQCount == 0xFF) + if (IRQCount == 0xFF) if (IRQa) X6502_IRQBegin(FCEU_IQEXT); } } @@ -143,7 +143,7 @@ static void RAMBO1Power(void) { regs[6] = regs[7] = regs[8] = regs[9] = regs[10] = ~0; Sync(); SetReadHandler(0x8000, 0xFFFF, CartBR); - SetWriteHandler(0x8000,0xFFFF, RAMBO1_Write); + SetWriteHandler(0x8000, 0xFFFF, RAMBO1_Write); } static void StateRestore(int version) {