mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Fix typpo; parse constant values in leaderboards
This commit is contained in:
parent
b5153ced9d
commit
bfcb8227f5
@ -447,7 +447,7 @@ static void cheevos_add_uint(char** aux, size_t* left, unsigned v)
|
|||||||
cheevos_add_string(aux, left, buffer);
|
cheevos_add_string(aux, left, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cheevos_add_uint(char** aux, size_t* left, int v)
|
static void cheevos_add_int(char** aux, size_t* left, int v)
|
||||||
{
|
{
|
||||||
char buffer[32];
|
char buffer[32];
|
||||||
|
|
||||||
@ -1158,7 +1158,12 @@ static void cheevos_parse_var(cheevos_var_t *var, const char **memaddr)
|
|||||||
if (toupper(*str) == 'H')
|
if (toupper(*str) == 'H')
|
||||||
str++;
|
str++;
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (toupper(*str) == 'V')
|
||||||
|
str++;
|
||||||
|
|
||||||
base = 10;
|
base = 10;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var->type != CHEEVOS_VAR_TYPE_VALUE_COMP)
|
if (var->type != CHEEVOS_VAR_TYPE_VALUE_COMP)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user