| 24 | static uint8 latche; |
| 25 | |
| 26 | static void Sync(void) { |
| 27 | if (latche) { |
| 28 | if (latche & 0x10) |
| 29 | setprg16(0x8000, (latche & 7)); |
| 30 | else |
| 31 | setprg16(0x8000, (latche & 7) | 8); |
| 32 | } else |
| 33 | setprg16(0x8000, 7 + (ROM_size >> 4)); |
| 34 | } |
| 35 | |
| 36 | static DECLFW(M188Write) { |
| 37 | latche = V; |
no test coverage detected