summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/cga.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/isa/cga.cpp
parent029a3003631093ffaf1a0318e0c58b3e173403a3 (diff)
clang-modernize part 2
Diffstat (limited to 'src/devices/bus/isa/cga.cpp')
-rw-r--r--src/devices/bus/isa/cga.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/isa/cga.cpp b/src/devices/bus/isa/cga.cpp
index 2b0f0cc5e16..3c1cd22cab7 100644
--- a/src/devices/bus/isa/cga.cpp
+++ b/src/devices/bus/isa/cga.cpp
@@ -258,7 +258,7 @@ static MACHINE_CONFIG_FRAGMENT( cga )
MCFG_MC6845_OUT_HSYNC_CB(WRITELINE(isa8_cga_device, hsync_changed))
MCFG_MC6845_OUT_VSYNC_CB(WRITELINE(isa8_cga_device, vsync_changed))
MCFG_MC6845_RECONFIGURE_CB(isa8_cga_device, reconfigure)
- MCFG_VIDEO_SET_SCREEN(NULL)
+ MCFG_VIDEO_SET_SCREEN(nullptr)
MACHINE_CONFIG_END
@@ -343,7 +343,7 @@ isa8_cga_device::isa8_cga_device(const machine_config &mconfig, device_type type
void isa8_cga_device::device_start()
{
- if (m_palette != NULL && !m_palette->started())
+ if (m_palette != nullptr && !m_palette->started())
throw device_missing_dependencies();
set_isa_device();
@@ -1561,7 +1561,7 @@ isa8_cga_pc1512_device::isa8_cga_pc1512_device(const machine_config &mconfig, co
const rom_entry *isa8_cga_pc1512_device::device_rom_region() const
{
- return NULL;
+ return nullptr;
}