diff options
| author | 2019-09-10 15:11:00 -0400 | |
|---|---|---|
| committer | 2019-09-10 15:11:02 -0400 | |
| commit | 53df4f447db0408d00bdcbee3105e013bdd19c3a (patch) | |
| tree | 0ccccacae81b902088f16cf704345fa53b3b252b /src/emu/debug/dvdisasm.cpp | |
| parent | e52c9cc290a710c11fef4a08c715e46d04db9f07 (diff) | |
Use std::forward_list for breakpoint and registerpoint lists (nw)
Diffstat (limited to 'src/emu/debug/dvdisasm.cpp')
| -rw-r--r-- | src/emu/debug/dvdisasm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp index 35550e75c01..667542483a4 100644 --- a/src/emu/debug/dvdisasm.cpp +++ b/src/emu/debug/dvdisasm.cpp @@ -353,8 +353,8 @@ void debug_view_disasm::complete_information(const debug_view_disasm_source &sou dasm.m_is_pc = adr == pc; dasm.m_is_bp = false; - for(device_debug::breakpoint *bp = source.device()->debug()->breakpoint_first(); bp != nullptr; bp = bp->next()) - if(adr ==(bp->address() & source.m_space.logaddrmask())) { + for(const device_debug::breakpoint &bp : source.device()->debug()->breakpoint_list()) + if(adr == (bp.address() & source.m_space.logaddrmask())) { dasm.m_is_bp = true; break; } |
