summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/n64.cpp
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/drivers/n64.cpp
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/drivers/n64.cpp')
-rw-r--r--src/mame/drivers/n64.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/n64.cpp b/src/mame/drivers/n64.cpp
index 3e77ff298db..0920349268b 100644
--- a/src/mame/drivers/n64.cpp
+++ b/src/mame/drivers/n64.cpp
@@ -30,7 +30,7 @@ public:
{ }
DECLARE_READ32_MEMBER(dd_null_r);
- DECLARE_MACHINE_START(n64dd);
+ void machine_start_n64dd() ATTR_COLD;
INTERRUPT_GEN_MEMBER(n64_reset_poll);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(n64_cart);
void mempak_format(uint8_t* pak);
@@ -378,7 +378,7 @@ DEVICE_IMAGE_LOAD_MEMBER(n64_mess_state,n64_cart)
return image_init_result::PASS;
}
-MACHINE_START_MEMBER(n64_mess_state,n64dd)
+void n64_mess_state::machine_start_n64dd()
{
machine_start();
machine().device<n64_periphs>("rcp")->dd_present = true;
@@ -487,7 +487,7 @@ MACHINE_CONFIG_START(n64_mess_state::n64dd)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(n64dd_map)
- MCFG_MACHINE_START_OVERRIDE(n64_mess_state, n64dd)
+ set_machine_start_cb(config, driver_callback_delegate(&machine_start_n64dd, this));
MCFG_DEVICE_REMOVE("cartslot")
MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "n64_cart")