mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix arithmetic register formatting for high number
High values would cause the formatting to be decimal while it should be hexadecimal if the value equals or exceeds one million.
This commit is contained in:
parent
ca3e5ac9d1
commit
39920283c0
@ -316,7 +316,7 @@ void CCrashHandler::FormatExceptionCode()
|
||||
//-----------------------------------------------------------------------------
|
||||
void CCrashHandler::FormatALU(const CHAR* pszRegister, DWORD64 nContent)
|
||||
{
|
||||
if (abs64(nContent) >= 1000000)
|
||||
if (nContent >= 1000000)
|
||||
{
|
||||
if (nContent > UINT_MAX)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user