diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-29 04:00:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-29 04:00:47 +0100 |
commit | 5763d40319139aefd28ebfa387bbe56408664ce5 (patch) | |
tree | aa067df603c9fc3117b1d30591e51330faf75ba1 /src | |
parent | Merge pull request #359 from lioncash/vfp (diff) | |
parent | Qt: we don't need to check if model is valid. (diff) | |
download | yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar.gz yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar.bz2 yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar.lz yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar.xz yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.tar.zst yuzu-5763d40319139aefd28ebfa387bbe56408664ce5.zip |
Diffstat (limited to 'src')
-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() emu_thread.SetCpuRunning(false); // TODO: By now, the CPU might not have actually stopped... - model->SetNextInstruction(Core::g_app_core->GetPC()); + if (Core::g_app_core) { + model->SetNextInstruction(Core::g_app_core->GetPC()); + } } void DisassemblerWidget::OnToggleStartStop() |