summaryrefslogtreecommitdiffstats
path: root/src/mess/includes/mz80.h
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2012-11-26 16:04:41 +0000
committer Curt Coder <curtcoder@mail.com>2012-11-26 16:04:41 +0000
commitabbfd858eafb54a8da936e66518e52f08be6342a (patch)
treeba7d106bc8e02d3968d2312510294d3fe4edbe95 /src/mess/includes/mz80.h
parente8b103c2cbfb780f2c56aa6483fbee9e3990311a (diff)
Replaced all device_t's with actual device classes. Regression test recommended. (nw)
Diffstat (limited to 'src/mess/includes/mz80.h')
-rw-r--r--src/mess/includes/mz80.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mess/includes/mz80.h b/src/mess/includes/mz80.h
index fd07819d80c..046282a1c62 100644
--- a/src/mess/includes/mz80.h
+++ b/src/mess/includes/mz80.h
@@ -20,20 +20,19 @@ class mz80_state : public driver_device
public:
mz80_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_pit(*this, "pit8253"),
- m_ppi(*this, "ppi8255"),
- m_cass(*this, CASSETTE_TAG),
- m_speaker(*this, SPEAKER_TAG)
- ,
+ m_maincpu(*this, "maincpu"),
+ m_pit(*this, "pit8253"),
+ m_ppi(*this, "ppi8255"),
+ m_cass(*this, CASSETTE_TAG),
+ m_speaker(*this, SPEAKER_TAG),
m_p_ram(*this, "p_ram"),
m_p_videoram(*this, "p_videoram"){ }
required_device<cpu_device> m_maincpu;
- required_device<device_t> m_pit;
+ required_device<pit8253_device> m_pit;
required_device<i8255_device> m_ppi;
required_device<cassette_image_device> m_cass;
- required_device<device_t> m_speaker;
+ required_device<speaker_sound_device> m_speaker;
DECLARE_READ8_MEMBER(mz80k_strobe_r);
DECLARE_WRITE8_MEMBER(mz80k_strobe_w);
DECLARE_READ8_MEMBER(mz80k_8255_portb_r);