summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/mephistp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mephistp.cpp')
-rw-r--r--src/mame/drivers/mephistp.cpp28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/mame/drivers/mephistp.cpp b/src/mame/drivers/mephistp.cpp
index 103459f6e4d..f6983074be4 100644
--- a/src/mame/drivers/mephistp.cpp
+++ b/src/mame/drivers/mephistp.cpp
@@ -27,10 +27,10 @@ class mephisto_pinball_state : public driver_device
{
public:
mephisto_pinball_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_aysnd(*this, "aysnd"),
- m_soundbank(*this, "soundbank")
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ , m_aysnd(*this, "aysnd")
+ , m_soundbank(*this, "soundbank")
{ }
DECLARE_WRITE8_MEMBER(shift_load_w);
@@ -41,24 +41,16 @@ public:
DECLARE_READ8_MEMBER(ay8910_inputs_r);
DECLARE_WRITE8_MEMBER(sound_rombank_w);
-protected:
-
- // devices
- required_device<cpu_device> m_maincpu;
- required_device<ay8910_device> m_aysnd;
- required_memory_bank m_soundbank;
-
- // driver_device overrides
- virtual void machine_start() override;
- virtual void machine_reset() override;
-
- // internal data
+private:
u8 m_ay8910_data;
bool m_ay8910_bdir;
bool m_ay8910_bc1;
-
-private:
void ay8910_update();
+ virtual void machine_start() override;
+ virtual void machine_reset() override;
+ required_device<cpu_device> m_maincpu;
+ required_device<ay8910_device> m_aysnd;
+ required_memory_bank m_soundbank;
};