diff options
author | David Haywood <mamehaze@users.noreply.github.com> | 2016-04-11 20:46:54 +0100 |
---|---|---|
committer | David Haywood <mamehaze@users.noreply.github.com> | 2016-04-11 20:46:54 +0100 |
commit | b5486236918e8565b27e79a99d7c3112f6cff00e (patch) | |
tree | de3c8bd67161b77340b20b5f1bdfd86e4ec921b0 /src | |
parent | bac87f62fa4bb838f0dadaf1db115fce21bcc388 (diff) |
minor shuffle (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/system1.cpp | 4 | ||||
-rw-r--r-- | src/mame/includes/system1.h | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/system1.cpp b/src/mame/drivers/system1.cpp index 8ee8cd8f2bd..17ad4b0ad75 100644 --- a/src/mame/drivers/system1.cpp +++ b/src/mame/drivers/system1.cpp @@ -4963,20 +4963,16 @@ ROM_END DRIVER_INIT_MEMBER(system1_state,bank00) { - m_videomode_custom = nullptr; - m_banked_decrypted_opcodes = nullptr; } DRIVER_INIT_MEMBER(system1_state,bank44) { m_videomode_custom = &system1_state::bank44_custom_w; - m_banked_decrypted_opcodes = nullptr; } DRIVER_INIT_MEMBER(system1_state,bank0c) { m_videomode_custom = &system1_state::bank0c_custom_w; - m_banked_decrypted_opcodes = nullptr; } DRIVER_INIT_MEMBER(system1_state,sega315_5033) diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h index a1aee2f3388..0c97c03d5ed 100644 --- a/src/mame/includes/system1.h +++ b/src/mame/includes/system1.h @@ -14,6 +14,7 @@ public: m_nob_mcu_latch(*this, "nob_mcu_latch"), m_nob_mcu_status(*this, "nob_mcu_status"), m_paletteram(*this, "palette"), + m_videomode_custom(nullptr), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), m_mcu(*this, "mcu"), @@ -25,7 +26,9 @@ public: m_color_prom(*this, "palette"), m_bank1(*this, "bank1"), m_bank0d(*this, "bank0d"), - m_bank1d(*this, "bank1d") { } + m_bank1d(*this, "bank1d"), + m_banked_decrypted_opcodes(nullptr) + { } optional_device<i8255_device> m_ppi8255; required_shared_ptr<UINT8> m_ram; |