diff options
| author | 2014-12-28 10:11:51 -0800 | |
|---|---|---|
| committer | 2014-12-28 10:11:51 -0800 | |
| commit | e6162ed91e29c356af1007f9b9545d4d076570c9 (patch) | |
| tree | a4d5a4f101ac32655cf7a5debffef2c12a05dd55 /src | |
| parent | Fix crash when the disassembler pause button is pressed while no game is runn... (diff) | |
| download | yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.gz yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.tar.xz yuzu-e6162ed91e29c356af1007f9b9545d4d076570c9.zip | |
Qt: we don't need to check if model is valid.
Diffstat (limited to 'src')
| -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() | |||
| 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 | if (model && Core::g_app_core) { | 223 | if (Core::g_app_core) { |
| 224 | model->SetNextInstruction(Core::g_app_core->GetPC()); | 224 | model->SetNextInstruction(Core::g_app_core->GetPC()); |
| 225 | } | 225 | } |
| 226 | } | 226 | } |