mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
don't change the current bank on reset, because another device might have already changed the bank when it was reset [smf]
This commit is contained in:
parent
76c09a17be
commit
d492f8a475
@ -84,11 +84,6 @@ void address_map_bank_device::device_start()
|
||||
save_item(NAME(m_offset));
|
||||
}
|
||||
|
||||
void address_map_bank_device::device_reset()
|
||||
{
|
||||
m_offset = 0;
|
||||
}
|
||||
|
||||
void address_map_bank_device::set_bank(offs_t bank)
|
||||
{
|
||||
m_offset = bank * m_stride;
|
||||
|
@ -53,7 +53,6 @@ public:
|
||||
protected:
|
||||
virtual void device_start();
|
||||
virtual void device_config_complete();
|
||||
virtual void device_reset();
|
||||
|
||||
// device_memory_interface overrides
|
||||
virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const { return (spacenum == AS_PROGRAM) ? &m_program_config : NULL; }
|
||||
|
Loading…
Reference in New Issue
Block a user