mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 12:35:21 +00:00
Assume go to address to be hexadecimal
This commit is contained in:
parent
6fe615605a
commit
6c10cb2eb5
1 changed files with 2 additions and 1 deletions
|
@ -549,7 +549,8 @@ u64 debugger_frame::EvaluateExpression(const QString& expression)
|
|||
}
|
||||
}
|
||||
|
||||
return static_cast<ulong>(scriptEngine.evaluate(expression).toNumber());
|
||||
const QString fixed_expression = QRegExp("^[A-Fa-f0-9]+$").exactMatch(expression) ? "0x" + expression : expression;
|
||||
return static_cast<ulong>(scriptEngine.evaluate(fixed_expression).toNumber());
|
||||
}
|
||||
|
||||
void debugger_frame::ClearBreakpoints()
|
||||
|
|
Loading…
Add table
Reference in a new issue