| 98 | } |
| 99 | |
| 100 | void MainWindow::debugStep(int mode) { |
| 101 | if (mode == DBG_RUN_UNTIL) { |
| 102 | debug_step(mode, m_runUntilAddr); |
| 103 | } else { |
| 104 | disasm.base = static_cast<int32_t>(cpu.registers.PC); |
| 105 | disasmGet(true); |
| 106 | debug_step(mode, static_cast<uint32_t>(disasm.next)); |
| 107 | } |
| 108 | emu.resume(); |
| 109 | } |
| 110 | |
| 111 | void MainWindow::debugImportFile(const QString &file) { |
| 112 | if (file.isEmpty()) { |
nothing calls this directly
no test coverage detected