diff options
Diffstat (limited to 'src/mame/drivers/nes.cpp')
-rw-r--r-- | src/mame/drivers/nes.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/nes.cpp b/src/mame/drivers/nes.cpp index 308f9a3a60a..96292db4b15 100644 --- a/src/mame/drivers/nes.cpp +++ b/src/mame/drivers/nes.cpp @@ -99,7 +99,7 @@ static MACHINE_CONFIG_START( nes, nes_state ) MCFG_NES_CONTROL_PORT_ADD("ctrl2", nes_control_port2_devices, "joypad") MCFG_NESCTRL_BRIGHTPIXEL_CB(nes_state, bright_pixel) - MCFG_NES_CARTRIDGE_ADD("nes_slot", nes_cart, NULL) + MCFG_NES_CARTRIDGE_ADD("nes_slot", nes_cart, nullptr) MCFG_SOFTWARE_LIST_ADD("cart_list", "nes") MCFG_SOFTWARE_LIST_ADD("ade_list", "nes_ade") // Camerica/Codemasters Aladdin Deck Enhancer mini-carts MCFG_SOFTWARE_LIST_ADD("ntb_list", "nes_ntbrom") // Sunsoft Nantettate! Baseball mini-carts @@ -110,8 +110,8 @@ MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( nespal, nes ) /* basic machine hardware */ -// MCFG_CPU_MODIFY("maincpu") -// MCFG_CPU_CLOCK(PAL_CLOCK) // this doesn't get inherited by the APU with DERIVED_CLOCK! +// MCFG_CPU_MODIFY("maincpu") +// MCFG_CPU_CLOCK(PAL_CLOCK) // this doesn't get inherited by the APU with DERIVED_CLOCK! MCFG_CPU_REPLACE("maincpu", N2A03, PAL_CLOCK) MCFG_CPU_PROGRAM_MAP(nes_map) @@ -135,8 +135,8 @@ MACHINE_CONFIG_END static MACHINE_CONFIG_DERIVED( dendy, nes ) /* basic machine hardware */ -// MCFG_CPU_MODIFY( "maincpu" ) -// MCFG_CPU_CLOCK( 26601712/15 ) // this doesn't get inherited by the APU with DERIVED_CLOCK! +// MCFG_CPU_MODIFY( "maincpu" ) +// MCFG_CPU_CLOCK( 26601712/15 ) // this doesn't get inherited by the APU with DERIVED_CLOCK! MCFG_CPU_REPLACE("maincpu", N2A03, 26601712/15 )/* 26.601712MHz / 15 == 1.77344746666... MHz */ MCFG_CPU_PROGRAM_MAP(nes_map) @@ -158,7 +158,7 @@ static MACHINE_CONFIG_DERIVED( famicom, nes ) MCFG_DEVICE_REMOVE("ctrl2") MCFG_NES_CONTROL_PORT_ADD("ctrl1", fc_control_port1_devices, "joypad") MCFG_NES_CONTROL_PORT_ADD("ctrl2", fc_control_port2_devices, "joypad") - MCFG_FC_EXPANSION_PORT_ADD("exp", fc_expansion_devices, NULL) + MCFG_FC_EXPANSION_PORT_ADD("exp", fc_expansion_devices, nullptr) MCFG_NESCTRL_BRIGHTPIXEL_CB(nes_state, bright_pixel) MCFG_SOFTWARE_LIST_ADD("flop_list", "famicom_flop") |