mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-25 22:06:24 +02:00
Disable binary detection when defaultrad is 16
This commit is contained in:
@@ -77,7 +77,7 @@ bool parseNumber(char* str, int defaultrad, int len, uint32& result)
|
||||
} else {
|
||||
if (!(str[0] >= '0' && str[0] <= '9')) return false;
|
||||
|
||||
if (tolower(str[len-1]) == 'b')
|
||||
if (tolower(str[len-1]) == 'b' && defaultrad != 16)
|
||||
{
|
||||
r = 2;
|
||||
len--;
|
||||
|
||||
Reference in New Issue
Block a user