mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
small clean (nw)
This commit is contained in:
parent
aa4935ce1c
commit
567f503aac
@ -9292,8 +9292,6 @@ INPUT_PORTS_END
|
||||
|
||||
MACHINE_START_MEMBER(ddenlovr_state,ddenlovr)
|
||||
{
|
||||
m_oki = machine().device<okim6295_device>("oki");
|
||||
|
||||
save_item(NAME(m_input_sel));
|
||||
save_item(NAME(m_dsw_sel));
|
||||
save_item(NAME(m_keyb));
|
||||
|
@ -1022,7 +1022,6 @@ GFXDECODE_END
|
||||
|
||||
MACHINE_START_MEMBER(playmark_state,playmark)
|
||||
{
|
||||
m_oki = machine().device<okim6295_device>("oki");
|
||||
m_eeprom = machine().device<eeprom_device>("eeprom");
|
||||
|
||||
save_item(NAME(m_bgscrollx));
|
||||
|
@ -13,9 +13,10 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_dsw_sel16(*this, "dsw_sel16"),
|
||||
m_protection1(*this, "protection1"),
|
||||
m_protection2(*this, "protection2"),
|
||||
m_protection2(*this, "protection2"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_soundcpu(*this, "soundcpu")
|
||||
m_soundcpu(*this, "soundcpu"),
|
||||
m_oki(*this, "oki")
|
||||
{ }
|
||||
|
||||
// up to 8 layers, 2 images per layer (interleaved on screen)
|
||||
@ -160,7 +161,7 @@ public:
|
||||
optional_device<cpu_device> m_soundcpu;
|
||||
device_t *m_rtc;
|
||||
device_t *m_ymsnd;
|
||||
okim6295_device *m_oki;
|
||||
optional_device<okim6295_device> m_oki;
|
||||
device_t *m_top_scr;
|
||||
device_t *m_bot_scr;
|
||||
DECLARE_WRITE8_MEMBER(dynax_vblank_ack_w);
|
||||
|
@ -12,6 +12,7 @@ public:
|
||||
m_videoram3(*this, "videoram3"),
|
||||
m_spriteram(*this, "spriteram"),
|
||||
m_rowscroll(*this, "rowscroll"),
|
||||
m_oki(*this, "oki"),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu") { }
|
||||
|
||||
@ -50,7 +51,7 @@ public:
|
||||
int m_old_oki_bank;
|
||||
|
||||
/* devices */
|
||||
okim6295_device *m_oki;
|
||||
required_device<okim6295_device> m_oki;
|
||||
eeprom_device *m_eeprom;
|
||||
DECLARE_WRITE16_MEMBER(coinctrl_w);
|
||||
DECLARE_WRITE16_MEMBER(wbeachvl_coin_eeprom_w);
|
||||
|
Loading…
Reference in New Issue
Block a user