summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/k052109.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/k052109.cpp')
-rw-r--r--src/mame/video/k052109.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/video/k052109.cpp b/src/mame/video/k052109.cpp
index ccffe5f2e89..07e4e1ef80c 100644
--- a/src/mame/video/k052109.cpp
+++ b/src/mame/video/k052109.cpp
@@ -162,25 +162,25 @@ GFXDECODE_END
k052109_device::k052109_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K052109, "K052109 Tilemap Generator", tag, owner, clock, "k052109", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
- m_ram(NULL),
- m_videoram_F(NULL),
- m_videoram_A(NULL),
- m_videoram_B(NULL),
- m_videoram2_F(NULL),
- m_videoram2_A(NULL),
- m_videoram2_B(NULL),
- m_colorram_F(NULL),
- m_colorram_A(NULL),
- m_colorram_B(NULL),
+ m_ram(nullptr),
+ m_videoram_F(nullptr),
+ m_videoram_A(nullptr),
+ m_videoram_B(nullptr),
+ m_videoram2_F(nullptr),
+ m_videoram2_A(nullptr),
+ m_videoram2_B(nullptr),
+ m_colorram_F(nullptr),
+ m_colorram_A(nullptr),
+ m_colorram_B(nullptr),
m_tileflip_enable(0),
m_has_extra_video_ram(0),
m_rmrd_line(0),
m_irq_enabled(0),
m_romsubbank(0),
m_scrollctrl(0),
- m_char_rom(NULL),
+ m_char_rom(nullptr),
m_char_size(0),
- m_screen_tag(NULL),
+ m_screen_tag(nullptr),
m_irq_handler(*this),
m_firq_handler(*this),
m_nmi_handler(*this)
@@ -205,7 +205,7 @@ void k052109_device::set_ram(device_t &device, bool ram)
void k052109_device::device_start()
{
- if (m_screen_tag != NULL)
+ if (m_screen_tag != nullptr)
{
// make sure our screen is started
screen_device *screen = m_owner->subdevice<screen_device>(m_screen_tag);
@@ -216,7 +216,7 @@ void k052109_device::device_start()
screen->register_vblank_callback(vblank_state_delegate(FUNC(k052109_device::vblank_callback), this));
}
- if (region() != NULL)
+ if (region() != nullptr)
{
m_char_rom = region()->base();
m_char_size = region()->bytes();