| 29 | }; |
| 30 | |
| 31 | static void Sync(void) { |
| 32 | // uint32 bbank = (bank & 0x18) >> 1; |
| 33 | uint32 bbank = ((bank & 0x10) >> 2) | (bank & 8); // some dumps have bbanks swapped, if swap commands, |
| 34 | // then all roms can be played, but with some swapped |
| 35 | // games in menu. if not, some dumps are unplayable |
| 36 | // make hard dump for both cart types to check |
| 37 | setprg16(0x8000, bbank | (preg & 3)); |
| 38 | setprg16(0xC000, bbank | 3); |
| 39 | setchr8(0); |
| 40 | } |
| 41 | |
| 42 | static DECLFW(M232WriteBank) { |
| 43 | bank = V; |
no test coverage detected