diff options
author | etabeta78 <doge.fabio@gmail.com> | 2016-05-01 19:37:48 +0200 |
---|---|---|
committer | etabeta78 <doge.fabio@gmail.com> | 2016-05-01 19:37:48 +0200 |
commit | 14417095921a15b8c50d23b77b744db56b56b9b3 (patch) | |
tree | daa1fa57ac6d975cb892bc08d0401847c5b75857 /src/devices/bus/megadrive/md_slot.cpp | |
parent | 0ed5f5687efd5cae6d1778f86619076a7da72735 (diff) |
megadrive: added custom X24C02 emulation to NBA Jam cart,
making finally possible to save records at exit. Hopefully, this
will help finding the problem in our core emulation. [Fabio Priuli]
Diffstat (limited to 'src/devices/bus/megadrive/md_slot.cpp')
-rw-r--r-- | src/devices/bus/megadrive/md_slot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/bus/megadrive/md_slot.cpp b/src/devices/bus/megadrive/md_slot.cpp index 5a496ac124a..2d7bc239968 100644 --- a/src/devices/bus/megadrive/md_slot.cpp +++ b/src/devices/bus/megadrive/md_slot.cpp @@ -240,6 +240,7 @@ static const md_slot slot_list[] = { SEGA_EEPROM, "rom_eeprom" }, { NBA_JAM, "rom_nbajam" }, + { NBA_JAM_ALT, "rom_nbajam_alt" }, { NBA_JAM_TE, "rom_nbajamte" }, { NFL_QB_96, "rom_nflqb" }, { C_SLAM, "rom_cslam" }, @@ -666,6 +667,9 @@ void base_md_cart_slot_device::setup_nvram() m_cart->nvram_alloc(m_cart->m_nvram_end - m_cart->m_nvram_start + 1); m_cart->m_nvram_active = 1; break; + case NBA_JAM_ALT: + m_cart->nvram_alloc(0x100); + break; } } |