summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/groundfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/groundfx.h')
-rw-r--r--src/mame/includes/groundfx.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mame/includes/groundfx.h b/src/mame/includes/groundfx.h
index 9a2225aab29..9568b075d71 100644
--- a/src/mame/includes/groundfx.h
+++ b/src/mame/includes/groundfx.h
@@ -1,7 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:Bryan McPhail, David Graves
-#include "machine/watchdog.h"
#include "video/tc0100scn.h"
#include "video/tc0480scp.h"
@@ -28,7 +27,6 @@ public:
m_ram(*this,"ram"),
m_spriteram(*this,"spriteram") ,
m_maincpu(*this, "maincpu"),
- m_watchdog(*this, "watchdog"),
m_tc0100scn(*this, "tc0100scn"),
m_tc0480scp(*this, "tc0480scp"),
m_gfxdecode(*this, "gfxdecode"),
@@ -38,13 +36,11 @@ public:
required_shared_ptr<uint32_t> m_spriteram;
required_device<cpu_device> m_maincpu;
- required_device<watchdog_timer_device> m_watchdog;
required_device<tc0100scn_device> m_tc0100scn;
required_device<tc0480scp_device> m_tc0480scp;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
- uint16_t m_coin_word;
uint16_t m_frame_counter;
uint16_t m_port_sel;
std::unique_ptr<gfx_tempsprite[]> m_spritelist;
@@ -52,14 +48,13 @@ public:
rectangle m_hack_cliprect;
emu_timer *m_interrupt5_timer;
- DECLARE_WRITE32_MEMBER(input_w);
DECLARE_READ32_MEMBER(adc_r);
DECLARE_WRITE32_MEMBER(adc_w);
DECLARE_WRITE32_MEMBER(rotate_control_w);
DECLARE_WRITE32_MEMBER(motor_control_w);
DECLARE_READ32_MEMBER(irq_speedup_r);
- DECLARE_CUSTOM_INPUT_MEMBER(frame_counter_r);
- DECLARE_CUSTOM_INPUT_MEMBER(coin_word_r);
+ DECLARE_READ_LINE_MEMBER(frame_counter_r);
+ DECLARE_WRITE8_MEMBER(coin_word_w);
DECLARE_DRIVER_INIT(groundfx);
virtual void video_start() override;
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);