summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/kc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/kc.cpp')
-rw-r--r--src/mame/machine/kc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/kc.cpp b/src/mame/machine/kc.cpp
index ad707f9dbc6..1f8c0d95ed2 100644
--- a/src/mame/machine/kc.cpp
+++ b/src/mame/machine/kc.cpp
@@ -332,7 +332,7 @@ void kc_state::update_0x0c000()
{
address_space &space = m_maincpu->space( AS_PROGRAM );
- if ((m_pio_data[0] & (1<<7)) && memregion("basic")->base() != NULL)
+ if ((m_pio_data[0] & (1<<7)) && memregion("basic")->base() != nullptr)
{
/* BASIC takes next priority */
LOG(("BASIC rom 0x0c000\n"));