summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/c64_legacy.c
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2013-02-06 20:32:33 +0000
committer Wilbert Pol <wilbert@jdg.info>2013-02-06 20:32:33 +0000
commit871d4c7ac6dd7066e1f4cbc6303d92ce415c3a19 (patch)
treed55bd14fb496830ce3346bff3c0bb8d98832b0d7 /src/mess/machine/c64_legacy.c
parent2f1f05e3e6bdb54559c96621a9fc2b322418ba80 (diff)
Getting rid of DEVICE_IMAGE_START (nw)
Diffstat (limited to 'src/mess/machine/c64_legacy.c')
-rw-r--r--src/mess/machine/c64_legacy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mess/machine/c64_legacy.c b/src/mess/machine/c64_legacy.c
index a3a1c6751df..5dbc255636b 100644
--- a/src/mess/machine/c64_legacy.c
+++ b/src/mess/machine/c64_legacy.c
@@ -519,7 +519,7 @@ DEVICE_IMAGE_UNLOAD_MEMBER( legacy_c64_state, c64_cart )
}
-DEVICE_IMAGE_START_MEMBER( legacy_c64_state, c64_cart )
+void legacy_c64_state::c64_legacy_driver_init()
{
/* In the first slot we can load a .crt file. In this case we want
to use game & exrom values from the header, not the default ones. */
@@ -1182,14 +1182,12 @@ MACHINE_CONFIG_FRAGMENT( c64_cartslot )
MCFG_CARTSLOT_EXTENSION_LIST("crt,80")
MCFG_CARTSLOT_NOT_MANDATORY
MCFG_CARTSLOT_INTERFACE("c64_cart")
- MCFG_CARTSLOT_START(legacy_c64_state,c64_cart)
MCFG_CARTSLOT_LOAD(legacy_c64_state,c64_cart)
MCFG_CARTSLOT_UNLOAD(legacy_c64_state,c64_cart)
MCFG_CARTSLOT_ADD("cart2")
MCFG_CARTSLOT_EXTENSION_LIST("crt,80")
MCFG_CARTSLOT_NOT_MANDATORY
- MCFG_CARTSLOT_START(legacy_c64_state,c64_cart)
MCFG_CARTSLOT_LOAD(legacy_c64_state,c64_cart)
MCFG_CARTSLOT_UNLOAD(legacy_c64_state,c64_cart)