summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-06-07 11:06:40 +0000
committerhrydgard <hrydgard@gmail.com>2009-06-07 11:06:40 +0000
commitbb06a53e28ee3403e92e42aeba303ac69aecf3d6 (patch)
tree2621a68067ad0a6b29653c2b6f62c339ab579442 /Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp
parent89cd1a4a76b02f24a9477c4c5b5db84d6565b9b2 (diff)
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp')
-rw-r--r--Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp
index 112ea29807..baed853928 100644
--- a/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp
+++ b/Source/Plugins/Plugin_DSP_LLE/Src/Debugger/Debugger.cpp
@@ -219,7 +219,8 @@ void DSPDebuggerLLE::RebuildDisAsmListView()
DSPDisassembler disasm(settings);
std::string op_str;
- disasm.DisOpcode(binbuf, 2, &settings.pc, op_str);
+
+ disasm.DisOpcode(binbuf, settings.pc & 0x8000, 2, &settings.pc, op_str);
const char* pParameter = NULL;
const char* pExtension = NULL;