diff options
author | 2019-09-10 23:12:08 -0400 | |
---|---|---|
committer | 2019-09-10 23:12:08 -0400 | |
commit | 372cd19178f3afbe2d2183795b362e4a912d9275 (patch) | |
tree | e14d15381a2d16c9d458f41ce11607985d65cc53 /src/osd/modules/debugger/qt/mainwindow.cpp | |
parent | 5a24e6a29c0d17284c64c1bed9fd39ca686129ec (diff) |
Fix QT debugger (nw)
Diffstat (limited to 'src/osd/modules/debugger/qt/mainwindow.cpp')
-rw-r--r-- | src/osd/modules/debugger/qt/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/debugger/qt/mainwindow.cpp b/src/osd/modules/debugger/qt/mainwindow.cpp index 84aad82e363..6a79ebf955d 100644 --- a/src/osd/modules/debugger/qt/mainwindow.cpp +++ b/src/osd/modules/debugger/qt/mainwindow.cpp @@ -230,7 +230,7 @@ void MainWindow::toggleBreakpointAtCursor(bool changedTo) } else { - command = string_format("bpclear 0x%X", bp.index()); + command = string_format("bpclear 0x%X", bp->index()); } m_machine->debugger().console().execute_command(command.c_str(), true); } @@ -252,8 +252,8 @@ void MainWindow::enableBreakpointAtCursor(bool changedTo) if (bp != nullptr) { - int32_t const bpindex = bp.index(); - std::string command = string_format(bp.enabled() ? "bpdisable 0x%X" : "bpenable 0x%X", bpindex); + int32_t const bpindex = bp->index(); + std::string command = string_format(bp->enabled() ? "bpdisable 0x%X" : "bpenable 0x%X", bpindex); m_machine->debugger().console().execute_command(command.c_str(), true); } } |