summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gameplan.h
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2018-05-16 09:37:54 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-05-16 11:58:08 +0200
commitc83e2a853d4e1643fcc85b68ada3c6f7f33adea4 (patch)
tree39b249e1a0a9b2056e9815d0a284fd483338362c /src/mame/includes/gameplan.h
parent2242ff00893a83a113150609bd525f098d632e8d (diff)
- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect of making machine-config overrides of these much
uglier, but this is intended to discourage ongoing use, and will be gradually eliminated.
Diffstat (limited to 'src/mame/includes/gameplan.h')
-rw-r--r--src/mame/includes/gameplan.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/mame/includes/gameplan.h b/src/mame/includes/gameplan.h
index 0eb102f8e18..5d28eddcf01 100644
--- a/src/mame/includes/gameplan.h
+++ b/src/mame/includes/gameplan.h
@@ -48,6 +48,8 @@ public:
m_screen(*this, "screen"),
m_soundlatch(*this, "soundlatch") { }
+ void video_start() override;
+
/* machine state */
uint8_t m_current_port;
optional_shared_ptr<uint8_t> m_trvquest_question;
@@ -80,15 +82,11 @@ public:
DECLARE_WRITE_LINE_MEMBER(audio_trigger_w);
DECLARE_WRITE_LINE_MEMBER(r6532_irq);
DECLARE_WRITE8_MEMBER(r6532_soundlatch_w);
- DECLARE_MACHINE_START(gameplan);
- DECLARE_MACHINE_RESET(gameplan);
- DECLARE_MACHINE_START(trvquest);
- DECLARE_MACHINE_RESET(trvquest);
- DECLARE_VIDEO_START(gameplan);
- DECLARE_VIDEO_RESET(gameplan);
- DECLARE_VIDEO_START(leprechn);
- DECLARE_VIDEO_START(trvquest);
- DECLARE_VIDEO_START(common);
+ void machine_start_gameplan() ATTR_COLD;
+ void machine_reset_gameplan();
+ void machine_start_trvquest() ATTR_COLD;
+ void machine_reset_trvquest();
+ void video_reset_gameplan();
uint32_t screen_update_gameplan(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
uint32_t screen_update_leprechn(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(trvquest_interrupt);