summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/nix/pirates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/nix/pirates.cpp')
-rw-r--r--src/mame/nix/pirates.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mame/nix/pirates.cpp b/src/mame/nix/pirates.cpp
index 592dfe6942e..e9f6b22f31a 100644
--- a/src/mame/nix/pirates.cpp
+++ b/src/mame/nix/pirates.cpp
@@ -141,7 +141,7 @@ public:
int prot_r();
protected:
- virtual void video_start() override;
+ virtual void video_start() override ATTR_COLD;
private:
required_device<cpu_device> m_maincpu;
@@ -177,12 +177,10 @@ private:
void decrypt_p();
void decrypt_s();
void decrypt_oki();
- void prg_map(address_map &map);
+ void prg_map(address_map &map) ATTR_COLD;
};
-// video
-
// tilemaps
TILE_GET_INFO_MEMBER(pirates_state::get_tx_tile_info)
@@ -288,8 +286,6 @@ uint32_t pirates_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
}
-// machine
-
void pirates_state::out_w(uint8_t data)
{
// bits 0-2 control EEPROM
@@ -389,10 +385,10 @@ static INPUT_PORTS_START( pirates )
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_SERVICE_NO_TOGGLE( 0x0008, IP_ACTIVE_LOW )
- PORT_BIT( 0x0010, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) // EEPROM data
+ PORT_BIT( 0x0010, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", FUNC(eeprom_serial_93cxx_device::do_read)) // EEPROM data
PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // seems checked in "test mode"
PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // seems checked in "test mode"
- PORT_BIT( 0x0080, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_MEMBER(pirates_state, prot_r) // protection
+ PORT_BIT( 0x0080, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_MEMBER(FUNC(pirates_state::prot_r)) // protection
// What do these bits do ?
PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNKNOWN )