what about AR he says
This commit is contained in:
parent
9bf7ca718c
commit
dcfe3bad86
|
@ -425,7 +425,10 @@ BOOL CHEATS::add_AR(char *code, char *description, BOOL enabled)
|
|||
//if (num == MAX_CHEAT_LIST) return FALSE;
|
||||
size_t num = list.size();
|
||||
|
||||
if (!XXcodePreParser(&list[num], code)) return FALSE;
|
||||
CHEATS_LIST temp;
|
||||
if (!XXcodePreParser(&temp, code)) return FALSE;
|
||||
|
||||
list.push_back(temp);
|
||||
|
||||
list[num].type = 1;
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ char *removeSpecialChars(char *s)
|
|||
|
||||
for (u32 i = 0; i < strlen(s); i++)
|
||||
{
|
||||
if (isspace(s[i]) && (s[i] != 0x20))
|
||||
if (isspace((u8)s[i]) && (s[i] != 0x20))
|
||||
*buf = 0x20;
|
||||
else
|
||||
*buf = s[i];
|
||||
|
|
Loading…
Reference in New Issue