mirror of https://github.com/RPCS3/rpcs3.git
Assume go to address to be hexadecimal
This commit is contained in:
parent
6fe615605a
commit
6c10cb2eb5
|
@ -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()
|
void debugger_frame::ClearBreakpoints()
|
||||||
|
|
Loading…
Reference in New Issue