summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dunhuang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dunhuang.cpp')
-rw-r--r--src/mame/drivers/dunhuang.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/dunhuang.cpp b/src/mame/drivers/dunhuang.cpp
index 9cdb7753ec1..d576dfe2f78 100644
--- a/src/mame/drivers/dunhuang.cpp
+++ b/src/mame/drivers/dunhuang.cpp
@@ -80,6 +80,9 @@ public:
m_dsw(*this, {"DSW1", "DSW2", "DSW3", "DSW4", "DSW5"}),
m_service(*this, "SERVICE") { }
+ void dunhuang(machine_config &config);
+
+private:
DECLARE_WRITE8_MEMBER(pos_x_w);
DECLARE_WRITE8_MEMBER(pos_y_w);
DECLARE_WRITE8_MEMBER(tile_w);
@@ -103,17 +106,14 @@ public:
DECLARE_READ8_MEMBER(dsw_r);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void dunhuang(machine_config &config);
void dunhuang_io_map(address_map &map);
void dunhuang_map(address_map &map);
void ramdac_map(address_map &map);
-protected:
+
virtual void machine_start() override;
virtual void machine_reset() override;
virtual void video_start() override;
-private:
-
/* video-related */
tilemap_t *m_tmap;
tilemap_t *m_tmap2;