summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/topspeed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/topspeed.h')
-rw-r--r--src/mame/includes/topspeed.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mame/includes/topspeed.h b/src/mame/includes/topspeed.h
index 7f804dc208e..9a453de40b6 100644
--- a/src/mame/includes/topspeed.h
+++ b/src/mame/includes/topspeed.h
@@ -35,6 +35,11 @@ public:
, m_msm_rom(*this, "adpcm_%u", 0U)
{ }
+ void topspeed(machine_config &config);
+
+ DECLARE_CUSTOM_INPUT_MEMBER(pedal_r);
+
+private:
required_shared_ptr<uint16_t> m_spritemap;
required_shared_ptr<uint16_t> m_raster_ctrl;
required_shared_ptr<uint16_t> m_spriteram;
@@ -79,7 +84,6 @@ public:
DECLARE_READ8_MEMBER(input_bypass_r);
DECLARE_READ16_MEMBER(motor_r);
DECLARE_WRITE16_MEMBER(motor_w);
- DECLARE_CUSTOM_INPUT_MEMBER(pedal_r);
DECLARE_WRITE8_MEMBER(coins_w);
DECLARE_WRITE8_MEMBER(msm5205_command_w);
@@ -90,7 +94,7 @@ public:
// video/topspeed.c
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_topspeed(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void topspeed(machine_config &config);
+
void cpua_map(address_map &map);
void cpub_map(address_map &map);
void z80_io(address_map &map);