summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.cpp
diff options
context:
space:
mode:
authordonkopunchstania <donkopunchstania@gmail.com>2008-09-23 00:05:08 +0000
committerdonkopunchstania <donkopunchstania@gmail.com>2008-09-23 00:05:08 +0000
commit29664c880a5b1d972abcd105fad17d33a5a80751 (patch)
tree5c148bd283da1b03d5b54c3803153dc72898c856 /Source/Core/DebuggerWX/Src/CodeWindow.cpp
parentef1aba784efcc85edaebdbc2079e72f8fb81e7d5 (diff)
added VolumeDirectory and modified ELF boot code to allow a directory on the user's computer to appear as the DVD drive. Linux support needs to be added. Added functionality to the Wii DI. Clicking on a data symbol in the code window sets the memory list to that address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@624 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
index e892ede0a6..918ecaf40f 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
@@ -645,7 +645,15 @@ void CCodeWindow::OnSymbolListChange(wxCommandEvent& event)
Symbol* pSymbol = static_cast<Symbol *>(symbols->GetClientData(index));
if (pSymbol != NULL)
{
- JumpToAddress(pSymbol->address);
+ if(pSymbol->type == Symbol::SYMBOL_DATA)
+ {
+ if(m_MemoryWindow && m_MemoryWindow->IsVisible())
+ m_MemoryWindow->JumpToAddress(pSymbol->address);
+ }
+ else
+ {
+ JumpToAddress(pSymbol->address);
+ }
}
}
}