summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gmaster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gmaster.cpp')
-rw-r--r--src/mame/drivers/gmaster.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/gmaster.cpp b/src/mame/drivers/gmaster.cpp
index e5bdc0d7875..b99ac40a926 100644
--- a/src/mame/drivers/gmaster.cpp
+++ b/src/mame/drivers/gmaster.cpp
@@ -29,6 +29,11 @@ public:
, m_cart(*this, "cartslot")
{ }
+ void gmaster(machine_config &config);
+
+ void init_gmaster() { memset(&m_video, 0, sizeof(m_video)); memset(m_ram, 0, sizeof(m_ram)); }
+
+private:
DECLARE_PALETTE_INIT(gmaster);
DECLARE_READ8_MEMBER(gmaster_io_r);
DECLARE_WRITE8_MEMBER(gmaster_io_w);
@@ -41,12 +46,9 @@ public:
DECLARE_WRITE8_MEMBER(gmaster_portc_w);
DECLARE_WRITE8_MEMBER(gmaster_portd_w);
DECLARE_WRITE8_MEMBER(gmaster_portf_w);
- void init_gmaster() { memset(&m_video, 0, sizeof(m_video)); memset(m_ram, 0, sizeof(m_ram)); }
uint32_t screen_update_gmaster(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void gmaster(machine_config &config);
void gmaster_mem(address_map &map);
-private:
virtual void machine_start() override;
struct