Skip to content

Commit

Permalink
minor shuffle (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamehaze committed Apr 11, 2016
1 parent bac87f6 commit b548623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/mame/drivers/system1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion src/mame/includes/system1.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class system1_state : public driver_device
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"),
Expand All @@ -25,7 +26,9 @@ class system1_state : public driver_device
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;
Expand Down

0 comments on commit b548623

Please sign in to comment.