(MESS) gameboy/gbcolor: fixed NVRAM saving. [Fabio Priuli]
out of whatsnew: huge thanks to Shoegazer for reporting the problem!
This commit is contained in:
parent
70e3290be2
commit
a8d021d5b5
@ -132,10 +132,6 @@ void gb_rom_mbc_device::shared_reset()
|
|||||||
m_ram_bank = 0;
|
m_ram_bank = 0;
|
||||||
m_ram_enable = 0;
|
m_ram_enable = 0;
|
||||||
m_mode = 0;
|
m_mode = 0;
|
||||||
|
|
||||||
has_rumble = FALSE;
|
|
||||||
has_timer = FALSE;
|
|
||||||
has_battery = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
@ -98,10 +98,6 @@ void gb_rom_device::shared_reset()
|
|||||||
m_ram_bank = 0;
|
m_ram_bank = 0;
|
||||||
m_latch_bank = 0;
|
m_latch_bank = 0;
|
||||||
m_latch_bank2 = 1;
|
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_ram_bank = 0;
|
||||||
m_latch_bank = 0;
|
m_latch_bank = 0;
|
||||||
m_latch_bank2 = 1;
|
m_latch_bank2 = 1;
|
||||||
|
|
||||||
has_rumble = FALSE;
|
|
||||||
has_timer = FALSE;
|
|
||||||
has_battery = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,10 @@ device_gb_cart_interface::device_gb_cart_interface(const machine_config &mconfig
|
|||||||
m_rom(NULL),
|
m_rom(NULL),
|
||||||
m_ram(NULL),
|
m_ram(NULL),
|
||||||
m_rom_size(0),
|
m_rom_size(0),
|
||||||
m_ram_size(0)
|
m_ram_size(0),
|
||||||
|
has_rumble(FALSE),
|
||||||
|
has_timer(FALSE),
|
||||||
|
has_battery(FALSE)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user