From 68f961927a156c47cb444c1f66258a89342d0205 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 4 Dec 2015 07:02:00 +0100 Subject: clang-modernize part 2 --- src/devices/bus/cpc/mface2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/bus/cpc/mface2.cpp') diff --git a/src/devices/bus/cpc/mface2.cpp b/src/devices/bus/cpc/mface2.cpp index 7bb2aa85546..3bb01352876 100644 --- a/src/devices/bus/cpc/mface2.cpp +++ b/src/devices/bus/cpc/mface2.cpp @@ -20,7 +20,7 @@ const device_type CPC_MFACE2 = &device_creator; static MACHINE_CONFIG_FRAGMENT( cpc_mface2 ) // pass-through MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0) - MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, NULL, false) + MCFG_DEVICE_SLOT_INTERFACE(cpc_exp_cards, nullptr, false) MCFG_CPC_EXPANSION_SLOT_OUT_IRQ_CB(DEVWRITELINE("^", cpc_expansion_slot_device, irq_w)) MCFG_CPC_EXPANSION_SLOT_OUT_NMI_CB(DEVWRITELINE("^", cpc_expansion_slot_device, nmi_w)) MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(DEVWRITELINE("^", cpc_expansion_slot_device, romdis_w)) // ROMDIS @@ -74,7 +74,7 @@ DIRECT_UPDATE_MEMBER( cpc_multiface2_device::amstrad_multiface_directoverride ) int cpc_multiface2_device::multiface_hardware_enabled() { - if (m_multiface_ram!=NULL) + if (m_multiface_ram!=nullptr) { if ((ioport("multiface")->read() & 0x01)!=0) { -- cgit v1.2.3-70-g09d2