summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cedar_magnet_plane.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cedar_magnet_plane.h')
-rw-r--r--src/mame/machine/cedar_magnet_plane.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/machine/cedar_magnet_plane.h b/src/mame/machine/cedar_magnet_plane.h
index 1b6cadf78b0..f2f55f20efd 100644
--- a/src/mame/machine/cedar_magnet_plane.h
+++ b/src/mame/machine/cedar_magnet_plane.h
@@ -22,16 +22,6 @@ public:
// construction/destruction
cedar_magnet_plane_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_READ8_MEMBER(pio0_pa_r);
- DECLARE_WRITE8_MEMBER(pio0_pa_w);
-// DECLARE_READ8_MEMBER(pio0_pb_r);
- DECLARE_WRITE8_MEMBER(pio0_pb_w);
-
-// DECLARE_READ8_MEMBER(pio1_pa_r);
- DECLARE_WRITE8_MEMBER(pio1_pa_w);
-// DECLARE_READ8_MEMBER(pio1_pb_r);
- DECLARE_WRITE8_MEMBER(pio1_pb_w);
-
DECLARE_WRITE8_MEMBER(plane_portcc_w);
DECLARE_WRITE8_MEMBER(plane_portcd_w);
DECLARE_WRITE8_MEMBER(plane_portce_w);
@@ -42,7 +32,7 @@ public:
uint32_t draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int palbase);
protected:
- virtual machine_config_constructor device_mconfig_additions() const override;
+ virtual void device_add_mconfig(machine_config &config) override;
virtual void device_start() override;
private:
@@ -58,6 +48,16 @@ private:
uint8_t m_cd_data;
uint8_t m_cf_data;
+
+ DECLARE_READ8_MEMBER(pio0_pa_r);
+ DECLARE_WRITE8_MEMBER(pio0_pa_w);
+// DECLARE_READ8_MEMBER(pio0_pb_r);
+ DECLARE_WRITE8_MEMBER(pio0_pb_w);
+
+// DECLARE_READ8_MEMBER(pio1_pa_r);
+ DECLARE_WRITE8_MEMBER(pio1_pa_w);
+// DECLARE_READ8_MEMBER(pio1_pb_r);
+ DECLARE_WRITE8_MEMBER(pio1_pb_w);
};
#endif // MAME_MACHINE_CEDAR_MAGNET_PLANE_H