summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:15:04 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:38:49 +0200
commit96d123b42c87007222bb545878cdef0116b60885 (patch)
treea611581b57d4debe784f1134a3de95426a7ba592 /src/devices/cpu/i386
parentc2c22570779f69e6921499b7abeb75f6db3d7822 (diff)
NULL->nullptr, instead of DEVCB_NULL use always DEVCB_NOOP to prevent confusion (nw)
Diffstat (limited to 'src/devices/cpu/i386')
-rw-r--r--src/devices/cpu/i386/i386priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i386/i386priv.h b/src/devices/cpu/i386/i386priv.h
index 0a471adfe36..3edf681744b 100644
--- a/src/devices/cpu/i386/i386priv.h
+++ b/src/devices/cpu/i386/i386priv.h
@@ -516,7 +516,7 @@ int i386_device::translate_address(int pl, int type, UINT32 *address, UINT32 *er
}
*address = (entry & 0xfffff000) | (*address & 0xfff);
#ifdef TEST_TLB
- int test_ret = i386_translate_address(type | TRANSLATE_DEBUG_MASK, &test_addr, NULL);
+ int test_ret = i386_translate_address(type | TRANSLATE_DEBUG_MASK, &test_addr, nullptr);
if(!test_ret || (test_addr != *address))
logerror("TLB-PTE mismatch! %06X %06X %06x\n", *address, test_addr, m_pc);
#endif