(MESS) gameboy/gbcolor: fixed NVRAM saving. [Fabio Priuli]

out of whatsnew: huge thanks to Shoegazer for reporting the problem!
This commit is contained in:
Fabio Priuli 2014-01-27 08:11:16 +00:00
parent 70e3290be2
commit a8d021d5b5
3 changed files with 4 additions and 13 deletions

View File

@ -132,10 +132,6 @@ void gb_rom_mbc_device::shared_reset()
m_ram_bank = 0;
m_ram_enable = 0;
m_mode = 0;
has_rumble = FALSE;
has_timer = FALSE;
has_battery = FALSE;
}
//-------------------------------------------------

View File

@ -98,10 +98,6 @@ void gb_rom_device::shared_reset()
m_ram_bank = 0;
m_latch_bank = 0;
m_latch_bank2 = 1;
has_rumble = FALSE;
has_timer = FALSE;
has_battery = FALSE;
}
//-------------------------------------------------
@ -142,10 +138,6 @@ void megaduck_rom_device::device_reset()
m_ram_bank = 0;
m_latch_bank = 0;
m_latch_bank2 = 1;
has_rumble = FALSE;
has_timer = FALSE;
has_battery = FALSE;
}

View File

@ -39,7 +39,10 @@ device_gb_cart_interface::device_gb_cart_interface(const machine_config &mconfig
m_rom(NULL),
m_ram(NULL),
m_rom_size(0),
m_ram_size(0)
m_ram_size(0),
has_rumble(FALSE),
has_timer(FALSE),
has_battery(FALSE)
{
}