diff options
Diffstat (limited to 'src/mame/includes/deco32.h')
-rw-r--r-- | src/mame/includes/deco32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h index 745a0b478de..a97f1f1ae91 100644 --- a/src/mame/includes/deco32.h +++ b/src/mame/includes/deco32.h @@ -23,6 +23,7 @@ class deco32_state : public driver_device public: deco32_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) + , m_audiocpu(*this, "audiocpu") , m_sprgen(*this, "spritegen%u", 1) , m_deco_tilegen(*this, "tilegen%u", 1) , m_gfxdecode(*this, "gfxdecode") @@ -36,7 +37,6 @@ public: , m_oki(*this, "oki%u", 1) , m_soundlatch(*this, "soundlatch") , m_maincpu(*this, "maincpu") - , m_audiocpu(*this, "audiocpu") , m_pf_rowscroll32(*this, "pf%u_rowscroll32", 1) , m_generic_paletteram_32(*this, "paletteram") { } @@ -69,6 +69,7 @@ protected: DECLARE_WRITE32_MEMBER(buffered_palette_w); DECLARE_WRITE32_MEMBER(palette_dma_w); + optional_device<cpu_device> m_audiocpu; optional_device_array<decospr_device, 2> m_sprgen; required_device_array<deco16ic_device, 2> m_deco_tilegen; required_device<gfxdecode_device> m_gfxdecode; @@ -96,7 +97,6 @@ protected: private: required_device<cpu_device> m_maincpu; - optional_device<cpu_device> m_audiocpu; // we use the pointers below to store a 32-bit copy.. required_shared_ptr_array<uint32_t, 4> m_pf_rowscroll32; |