mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-19 20:34:26 +01:00
Disable binary detection when defaultrad is 16
This commit is contained in:
1 parent
033a3437fb
commit
42877f5a1f
1 file changed
+1
-1
@@ -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