diff options
Diffstat (limited to 'src/mame/drivers/megadriv.cpp')
-rw-r--r-- | src/mame/drivers/megadriv.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/megadriv.cpp b/src/mame/drivers/megadriv.cpp index 59c40968a60..0db98a050a0 100644 --- a/src/mame/drivers/megadriv.cpp +++ b/src/mame/drivers/megadriv.cpp @@ -619,7 +619,7 @@ MACHINE_CONFIG_START(md_cons_state::genesis_32x) // we need to remove and re-add the YM because the balance is different // due to MAME / MESS having severe issues if the dac output is > 0.40? (sound is corrupted even if DAC is silent?!) - MCFG_DEVICE_REMOVE("ymsnd") + config.device_remove("ymsnd"); MCFG_DEVICE_ADD("ymsnd", YM2612, MASTER_CLOCK_NTSC/7) MCFG_SOUND_ROUTE(0, "lspeaker", (0.50)/2) @@ -656,7 +656,7 @@ MACHINE_CONFIG_START(md_cons_state::mdj_32x) // we need to remove and re-add the sound system because the balance is different // due to MAME / MESS having severe issues if the dac output is > 0.40? (sound is corrupted even if DAC is silent?!) - MCFG_DEVICE_REMOVE("ymsnd") + config.device_remove("ymsnd"); MCFG_DEVICE_ADD("ymsnd", YM2612, MASTER_CLOCK_NTSC/7) MCFG_SOUND_ROUTE(0, "lspeaker", (0.50)/2) @@ -693,7 +693,7 @@ MACHINE_CONFIG_START(md_cons_state::md_32x) // we need to remove and re-add the sound system because the balance is different // due to MAME / MESS having severe issues if the dac output is > 0.40? (sound is corrupted even if DAC is silent?!) - MCFG_DEVICE_REMOVE("ymsnd") + config.device_remove("ymsnd"); MCFG_DEVICE_ADD("ymsnd", YM2612, MASTER_CLOCK_NTSC/7) MCFG_SOUND_ROUTE(0, "lspeaker", (0.50)/2) @@ -804,7 +804,7 @@ MACHINE_CONFIG_START(md_cons_state::genesis_32x_scd) MCFG_MACHINE_START_OVERRIDE(md_cons_state, ms_megacd) - MCFG_DEVICE_REMOVE("cartslot") + config.device_remove("cartslot"); MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "_32x_cart") MCFG_GENERIC_EXTENSIONS("32x,bin") MCFG_GENERIC_LOAD(md_cons_state, _32x_cart) @@ -823,7 +823,7 @@ MACHINE_CONFIG_START(md_cons_state::md_32x_scd) MCFG_MACHINE_START_OVERRIDE(md_cons_state, ms_megacd) - MCFG_DEVICE_REMOVE("cartslot") + config.device_remove("cartslot"); MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "_32x_cart") MCFG_GENERIC_EXTENSIONS("32x,bin") MCFG_GENERIC_LOAD(md_cons_state, _32x_cart) @@ -842,7 +842,7 @@ MACHINE_CONFIG_START(md_cons_state::mdj_32x_scd) MCFG_MACHINE_START_OVERRIDE(md_cons_state, ms_megacd) - MCFG_DEVICE_REMOVE("cartslot") + config.device_remove("cartslot"); MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "_32x_cart") MCFG_GENERIC_EXTENSIONS("32x,bin") MCFG_GENERIC_LOAD(md_cons_state, _32x_cart) |