diff options
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp b/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp index 9e606c4016..b2a9ac7ea2 100644 --- a/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp @@ -234,7 +234,8 @@ void DSPDebuggerLLE::UpdateSymbolMap() void DSPDebuggerLLE::OnSymbolListChange(wxCommandEvent& event) { int index = m_SymbolList->GetSelection(); - if (index >= 0) { + if (index >= 0) + { Symbol* pSymbol = static_cast<Symbol *>(m_SymbolList->GetClientData(index)); if (pSymbol != nullptr) { @@ -275,7 +276,8 @@ bool DSPDebuggerLLE::JumpToAddress(u16 addr) { // Center on valid instruction in IRAM/IROM int new_line = DSPSymbols::Addr2Line(addr); - if (new_line >= 0) { + if (new_line >= 0) + { m_CodeView->Center(new_line); return true; } |
