summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/sprint2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/sprint2.h')
-rw-r--r--src/mame/includes/sprint2.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h
index 9731bb53e7c..15ad43d5873 100644
--- a/src/mame/includes/sprint2.h
+++ b/src/mame/includes/sprint2.h
@@ -45,6 +45,17 @@ public:
m_screen(*this, "screen"),
m_palette(*this, "palette") { }
+ void sprint1(machine_config &config);
+ void sprint2(machine_config &config);
+ void dominos4(machine_config &config);
+ void dominos(machine_config &config);
+
+ void init_sprint1();
+ void init_sprint2();
+ void init_dominos();
+ void init_dominos4();
+
+private:
int m_steering[2];
int m_gear[2];
int m_game;
@@ -70,10 +81,6 @@ public:
DECLARE_WRITE8_MEMBER(sprint2_collision_reset2_w);
DECLARE_WRITE8_MEMBER(sprint2_video_ram_w);
DECLARE_WRITE8_MEMBER(sprint2_noise_reset_w);
- void init_sprint1();
- void init_sprint2();
- void init_dominos();
- void init_dominos4();
TILE_GET_INFO_MEMBER(get_tile_info);
virtual void video_start() override;
DECLARE_PALETTE_INIT(sprint2);
@@ -92,10 +99,7 @@ public:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
- void sprint1(machine_config &config);
- void sprint2(machine_config &config);
- void dominos4(machine_config &config);
- void dominos(machine_config &config);
+
void sprint2_map(address_map &map);
};