summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Debugger/CodeView.cpp
index fe3c583403..d9fd00b24d 100644
--- a/Source/Core/DolphinWX/Debugger/CodeView.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeView.cpp
@@ -496,7 +496,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
// look for hex strings to decode branches
std::string hex_str;
- size_t pos = operands.find("0x8");
+ size_t pos = operands.find("0x");
if (pos != std::string::npos)
{
hex_str = operands.substr(pos);