diff options
author | 2016-04-26 21:36:43 +0100 | |
---|---|---|
committer | 2016-04-26 21:36:43 +0100 | |
commit | 4222b12a0fe9c5cd6c22585814c3937e6494452d (patch) | |
tree | 39bdbdaead66e8b6bc877c5628a6edd5101dabaa /src | |
parent | 2e083d6182d26259f3966da85ebfc422dfd40716 (diff) |
more verifications (nw)
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 ); |