summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/odyssey2/rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/bus/odyssey2/rom.c')
-rw-r--r--src/emu/bus/odyssey2/rom.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/bus/odyssey2/rom.c b/src/emu/bus/odyssey2/rom.c
index da0f02f6941..d741dcdd802 100644
--- a/src/emu/bus/odyssey2/rom.c
+++ b/src/emu/bus/odyssey2/rom.c
@@ -50,12 +50,12 @@ o2_rom16_device::o2_rom16_device(const machine_config &mconfig, const char *tag,
//-------------------------------------------------
void o2_rom_device::device_start()
-{
+{
save_item(NAME(m_bank_base));
}
void o2_rom_device::device_reset()
-{
+{
m_bank_base = 0;
}
@@ -94,4 +94,3 @@ READ8_MEMBER(o2_rom16_device::read_rom0c)
{
return m_rom[offset + 0xc00 + (m_bank_base & 0x03) * 0x1000];
}
-