summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/at45dbxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/at45dbxx.cpp')
-rw-r--r--src/devices/machine/at45dbxx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/at45dbxx.cpp b/src/devices/machine/at45dbxx.cpp
index 2890f8784d4..e61fcca498a 100644
--- a/src/devices/machine/at45dbxx.cpp
+++ b/src/devices/machine/at45dbxx.cpp
@@ -121,7 +121,7 @@ void at45db041_device::device_reset()
memset(&m_cmd.data[0], 0, sizeof(m_cmd.data));
m_cmd.size = 0;
// input/output
- m_io.data = NULL;
+ m_io.data = nullptr;
m_io.size = 0;
m_io.pos = 0;
// pins
@@ -144,7 +144,7 @@ void at45db041_device::nvram_default()
{
memset(&m_data[0], 0xff, m_data.size());
- if (region() != NULL)
+ if (region() != nullptr)
{
UINT32 bytes = region()->bytes();
if (bytes > m_size)