diff options
Diffstat (limited to 'src/citra_qt/debugger/disassembler.cpp')
| -rw-r--r-- | src/citra_qt/debugger/disassembler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp index 2ee877743..14745f3bb 100644 --- a/src/citra_qt/debugger/disassembler.cpp +++ b/src/citra_qt/debugger/disassembler.cpp | |||
| @@ -220,7 +220,9 @@ void DisassemblerWidget::OnPause() | |||
| 220 | emu_thread.SetCpuRunning(false); | 220 | emu_thread.SetCpuRunning(false); |
| 221 | 221 | ||
| 222 | // TODO: By now, the CPU might not have actually stopped... | 222 | // TODO: By now, the CPU might not have actually stopped... |
| 223 | model->SetNextInstruction(Core::g_app_core->GetPC()); | 223 | if (Core::g_app_core) { |
| 224 | model->SetNextInstruction(Core::g_app_core->GetPC()); | ||
| 225 | } | ||
| 224 | } | 226 | } |
| 225 | 227 | ||
| 226 | void DisassemblerWidget::OnToggleStartStop() | 228 | void DisassemblerWidget::OnToggleStartStop() |