From 96d123b42c87007222bb545878cdef0116b60885 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 24 Apr 2016 15:15:04 +0200 Subject: NULL->nullptr, instead of DEVCB_NULL use always DEVCB_NOOP to prevent confusion (nw) --- src/devices/cpu/i386/i386priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/cpu/i386') 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 -- cgit v1.2.3-70-g09d2