summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/huebler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/huebler.h')
-rw-r--r--src/mame/includes/huebler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/includes/huebler.h b/src/mame/includes/huebler.h
index 05f88881925..163e52f7581 100644
--- a/src/mame/includes/huebler.h
+++ b/src/mame/includes/huebler.h
@@ -26,6 +26,7 @@ class amu880_state : public driver_device
public:
amu880_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
+ , m_maincpu(*this, Z80_TAG)
, m_cassette(*this, "cassette")
, m_z80sio(*this, Z80SIO_TAG)
, m_palette(*this, "palette")
@@ -41,7 +42,11 @@ public:
void amu880(machine_config &config);
+protected:
+ virtual void machine_start() override;
+
private:
+ required_device<z80_device> m_maincpu;
required_device<cassette_image_device> m_cassette;
required_device<z80dart_device> m_z80sio;
required_device<palette_device> m_palette;
@@ -51,8 +56,6 @@ private:
required_ioport_array<16> m_key_row;
required_ioport m_special;
- virtual void machine_start() override;
-
uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_READ8_MEMBER( keyboard_r );