diff options
Diffstat (limited to 'src/mame/atari/cloak.cpp')
-rw-r--r-- | src/mame/atari/cloak.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mame/atari/cloak.cpp b/src/mame/atari/cloak.cpp index a04f5e81455..ec5d7554a08 100644 --- a/src/mame/atari/cloak.cpp +++ b/src/mame/atari/cloak.cpp @@ -153,7 +153,7 @@ public: void cloak(machine_config &config); protected: - virtual void video_start() override; + virtual void video_start() override ATTR_COLD; private: required_device<cpu_device> m_maincpu; @@ -188,13 +188,11 @@ private: void set_pen(int i); void draw_bitmap(bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); - void master_map(address_map &map); - void slave_map(address_map &map); + void master_map(address_map &map) ATTR_COLD; + void slave_map(address_map &map) ATTR_COLD; }; -// video - /*************************************************************************** CLOAK & DAGGER uses RAM to dynamically @@ -381,8 +379,6 @@ uint32_t cloak_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, } -// machine - /************************************* * * Output ports @@ -486,7 +482,7 @@ static INPUT_PORTS_START( cloak ) PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) // player 2 controls, not used PORT_START("SYSTEM") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("screen", FUNC(screen_device::vblank)) PORT_SERVICE( 0x02, IP_ACTIVE_LOW ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) |