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:
smf- 2014-01-23 17:55:59 +00:00
parent 76c09a17be
commit d492f8a475
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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; }