| 89 | } |
| 90 | |
| 91 | static void M186Power(void) { |
| 92 | setchr8(0); |
| 93 | SetReadHandler(0x6000, 0xFFFF, CartBR); |
| 94 | SetWriteHandler(0x6000, 0xFFFF, CartBW); |
| 95 | SetReadHandler(0x4200, 0x43FF, M186Read); |
| 96 | SetWriteHandler(0x4200, 0x43FF, M186Write); |
| 97 | SetReadHandler(0x4400, 0x4FFF, ASWRAM); |
| 98 | SetWriteHandler(0x4400, 0x4FFF, BSWRAM); |
| 99 | FCEU_CheatAddRAM(32, 0x6000, WRAM); |
| 100 | regs[0] = regs[1] = regs[2] = regs[3]; |
| 101 | Sync(); |
| 102 | } |
| 103 | |
| 104 | static void M186Close(void) { |
| 105 | if (WRAM) |
nothing calls this directly
no test coverage detected