trunk/src/mame/drivers/thedeep.c
| r242119 | r242120 | |
| 87 | 87 | m_rombank = new_rombank; |
| 88 | 88 | rom = memregion("maincpu")->base(); |
| 89 | 89 | membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000); |
| 90 | | /* there's code which falls through from the fixed ROM to bank #1, I have to */ |
| 91 | | /* copy it there otherwise the CPU bank switching support will not catch it. */ |
| 92 | | memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000); |
| 90 | |
| 93 | 91 | } |
| 94 | 92 | break; |
| 95 | 93 | |
| r242119 | r242120 | |
| 197 | 195 | m_rombank = new_rombank; |
| 198 | 196 | rom = memregion("maincpu")->base(); |
| 199 | 197 | membank("bank1")->set_base(rom + 0x10000 + m_rombank * 0x4000); |
| 200 | | /* there's code which falls through from the fixed ROM to bank #1, I have to */ |
| 201 | | /* copy it there otherwise the CPU bank switching support will not catch it. */ |
| 202 | | memcpy(rom + 0x08000, rom + 0x10000 + m_rombank * 0x4000, 0x4000); |
| 203 | 198 | |
| 204 | 199 | } |
| 205 | 200 | |