summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/dvwpoints.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/dvwpoints.cpp')
-rw-r--r--src/emu/debug/dvwpoints.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/debug/dvwpoints.cpp b/src/emu/debug/dvwpoints.cpp
index c09cff91bf3..c1e346c62b2 100644
--- a/src/emu/debug/dvwpoints.cpp
+++ b/src/emu/debug/dvwpoints.cpp
@@ -152,7 +152,7 @@ void debug_view_watchpoints::enumerate_sources()
// iterate over devices with disassembly interfaces
disasm_interface_iterator iter(machine().root_device());
- for (device_disasm_interface *dasm = iter.first(); dasm != NULL; dasm = iter.next())
+ for (device_disasm_interface *dasm = iter.first(); dasm != nullptr; dasm = iter.next())
{
std::string name;
strprintf(name, "%s '%s'", dasm->device().name(), dasm->device().tag());
@@ -227,13 +227,13 @@ void debug_view_watchpoints::pad_astring_to_length(std::string& str, int len)
void debug_view_watchpoints::gather_watchpoints()
{
m_buffer.resize(0);
- for (const debug_view_source *source = m_source_list.first(); source != NULL; source = source->next())
+ for (const debug_view_source *source = m_source_list.first(); source != nullptr; source = source->next())
{
// Collect
device_debug &debugInterface = *source->device()->debug();
for (address_spacenum spacenum = AS_0; spacenum < ADDRESS_SPACES; ++spacenum)
{
- for (device_debug::watchpoint *wp = debugInterface.watchpoint_first(spacenum); wp != NULL; wp = wp->next())
+ for (device_debug::watchpoint *wp = debugInterface.watchpoint_first(spacenum); wp != nullptr; wp = wp->next())
m_buffer.push_back(wp);
}
}