diff options
author | xdec <xdec.dev@gmail.com> | 2014-12-28 19:11:51 +0100 |
---|---|---|
committer | xdec <xdec.dev@gmail.com> | 2014-12-28 19:11:51 +0100 |
commit | e6162ed91e29c356af1007f9b9545d4d076570c9 (patch) | |
tree | a4d5a4f101ac32655cf7a5debffef2c12a05dd55 /src/citra_qt/debugger | |
parent | Fix crash when the disassembler pause button is pressed while no game is running. (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/citra_qt/debugger')
-rw-r--r-- | src/citra_qt/debugger/disassembler.cpp | 2 |
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()); } } |