summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxdec <xdec.dev@gmail.com>2014-12-28 19:11:51 +0100
committerxdec <xdec.dev@gmail.com>2014-12-28 19:11:51 +0100
commite6162ed91e29c356af1007f9b9545d4d076570c9 (patch)
treea4d5a4f101ac32655cf7a5debffef2c12a05dd55
parentFix crash when the disassembler pause button is pressed while no game is running. (diff)
downloadyuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.gz
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.bz2
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.lz
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.xz
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.zst
yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.zip
-rw-r--r--src/citra_qt/debugger/disassembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp
index 159f4d65e..14745f3bb 100644
--- a/src/citra_qt/debugger/disassembler.cpp
+++ b/src/citra_qt/debugger/disassembler.cpp
@@ -220,7 +220,7 @@ void DisassemblerWidget::OnPause()
emu_thread.SetCpuRunning(false);
// TODO: By now, the CPU might not have actually stopped...
- if (model && Core::g_app_core) {
+ if (Core::g_app_core) {
model->SetNextInstruction(Core::g_app_core->GetPC());
}
}