| 64 | } |
| 65 | |
| 66 | static void M112Power(void) { |
| 67 | bank = 0; |
| 68 | setprg16(0xC000, ~0); |
| 69 | setprg8r(0x10, 0x6000, 0); |
| 70 | SetReadHandler(0x8000, 0xFFFF, CartBR); |
| 71 | SetWriteHandler(0x8000, 0xFFFF, M112Write); |
| 72 | SetWriteHandler(0x4020, 0x5FFF, M112Write); |
| 73 | SetReadHandler(0x6000, 0x7FFF, CartBR); |
| 74 | SetWriteHandler(0x6000, 0x7FFF, CartBW); |
| 75 | FCEU_CheatAddRAM(8, 0x6000, WRAM); |
| 76 | } |
| 77 | |
| 78 | static void StateRestore(int version) { |
| 79 | Sync(); |
nothing calls this directly
no test coverage detected