diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/tourvis.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/drivers/tourvis.cpp b/src/mame/drivers/tourvis.cpp index cbdd7e656a0..734a6320c07 100644 --- a/src/mame/drivers/tourvis.cpp +++ b/src/mame/drivers/tourvis.cpp @@ -288,6 +288,12 @@ DEVICE_IMAGE_LOAD_MEMBER( tourvision_state, tourvision_cart ) UINT8* rgn = memregion("maincpu")->base(); UINT8* base = m_cart->get_rom_base(); + if (m_rom_size == 0x0c0000) + { + memcpy(rgn+0x000000, base+0x000000, 0x0c0000 ); + memcpy(rgn+0x0c0000, base+0x080000, 0x040000 ); + } + else if (m_rom_size == 0x060000) { memcpy(rgn+0x000000, base+0x000000, 0x040000 ); |