summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/nintendo/cothello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/nintendo/cothello.cpp')
-rw-r--r--src/mame/nintendo/cothello.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/nintendo/cothello.cpp b/src/mame/nintendo/cothello.cpp
index c63b40357f4..bbc7b21c99f 100644
--- a/src/mame/nintendo/cothello.cpp
+++ b/src/mame/nintendo/cothello.cpp
@@ -67,7 +67,7 @@ public:
DECLARE_INPUT_CHANGED_MEMBER(insert_coin);
protected:
- virtual void machine_start() override;
+ virtual void machine_start() override ATTR_COLD;
private:
required_device<cpu_device> m_maincpu;
@@ -82,7 +82,7 @@ private:
emu_timer *m_counter_timer;
emu_timer *m_beeper_off;
- void main_map(address_map &map);
+ void main_map(address_map &map) ATTR_COLD;
u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
@@ -259,7 +259,7 @@ static INPUT_PORTS_START( cothello )
PORT_DIPSETTING( 0x09, "900 seconds" )
PORT_START("COIN")
- PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, cothello_state, insert_coin, 0)
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(cothello_state::insert_coin), 0)
INPUT_PORTS_END