diff options
author | 2020-11-22 19:40:20 +0100 | |
---|---|---|
committer | 2020-11-22 19:40:20 +0100 | |
commit | 8d4559070f10367dac4fb7f7721b1f3e91098c75 (patch) | |
tree | 2caef4e7602eb40fe0608fab9157479d5d4785ed /src/mame/drivers/spyhuntertec.cpp | |
parent | 61971f7b26f90639db15539977c5cc64b0827942 (diff) |
atm.cpp, pasopia7.cpp, spc1500.cpp, spyhuntertec.cpp, tasman.cpp: removed a tiny bunch of MACHINE_*_MEMBER and VIDEO_*_MEMBER
Diffstat (limited to 'src/mame/drivers/spyhuntertec.cpp')
-rw-r--r-- | src/mame/drivers/spyhuntertec.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/mame/drivers/spyhuntertec.cpp b/src/mame/drivers/spyhuntertec.cpp index 92e20327d2d..4fe733748c7 100644 --- a/src/mame/drivers/spyhuntertec.cpp +++ b/src/mame/drivers/spyhuntertec.cpp @@ -29,6 +29,9 @@ sound system appears to be the same as 'spartanxtec.cpp' #include "spyhunttec.lh" + +namespace { + class spyhuntertec_state : public driver_device { public: @@ -53,6 +56,11 @@ public: void init_spyhuntertec(); +protected: + virtual void machine_start() override; + virtual void machine_reset() override; + virtual void video_start() override; + private: required_device<cpu_device> m_maincpu; required_device<cpu_device> m_audiocpu; @@ -68,9 +76,6 @@ private: required_device<screen_device> m_screen; required_device<generic_latch_8_device> m_soundlatch; - virtual void machine_start() override; - virtual void machine_reset() override; - virtual void video_start() override; void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); uint32_t screen_update_spyhuntertec(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); @@ -85,7 +90,6 @@ private: tilemap_t *m_bg_tilemap; void spyhuntertec_paletteram_w(offs_t offset, uint8_t data); - // DECLARE_VIDEO_START(spyhuntertec); // uint32_t screen_update_spyhuntertec(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void spyhuntertec_port04_w(uint8_t data); void spyhuntertec_portf0_w(uint8_t data); @@ -917,6 +921,9 @@ void spyhuntertec_state::init_spyhuntertec() m_spyhunt_scroll_offset = 16; } +} // Anonymous namespace + + /*************************************************************************** * Game Drivers * ***************************************************************************/ |