summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/cpc_rom.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:00 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-04 07:02:00 +0100
commit68f961927a156c47cb444c1f66258a89342d0205 (patch)
treeb0d5753d5658e62ecca72d37af2f79dfc7f808bb /src/devices/bus/cpc/cpc_rom.cpp
parent029a3003631093ffaf1a0318e0c58b3e173403a3 (diff)
clang-modernize part 2
Diffstat (limited to 'src/devices/bus/cpc/cpc_rom.cpp')
-rw-r--r--src/devices/bus/cpc/cpc_rom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/cpc/cpc_rom.cpp b/src/devices/bus/cpc/cpc_rom.cpp
index b510648b1a9..a60b8e35c0b 100644
--- a/src/devices/bus/cpc/cpc_rom.cpp
+++ b/src/devices/bus/cpc/cpc_rom.cpp
@@ -30,7 +30,7 @@ static MACHINE_CONFIG_FRAGMENT( cpc_rom )
// 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
@@ -99,7 +99,7 @@ rom_image_device::~rom_image_device()
void rom_image_device::device_start()
{
- m_base = NULL;
+ m_base = nullptr;
}
/*-------------------------------------------------
@@ -131,5 +131,5 @@ bool rom_image_device::call_load()
void rom_image_device::call_unload()
{
global_free_array(m_base);
- m_base = NULL;
+ m_base = nullptr;
}