summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-30 18:20:13 -0400
committerLioncash <mathew1800@gmail.com>2014-08-30 18:20:13 -0400
commit2c7bcd0d048c2e298a5d1e94cb493c6d879f6dd9 (patch)
tree0159e4c50212488aca33dcff7dbe09ed4e251eed /Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp
parent77aef014a0352d819e8ea63bafb6262b9af485cb (diff)
parenteb535be8741fd8672b5db972ca43360ca14a9a78 (diff)
Merge pull request #911 from lioncash/braces
Clean up brace placements within the project.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp6
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;
}