Make a couple of functions static and shut up a signed vs unsigned warning in cheatSystem.cpp.

This commit is contained in:
riccardom 2009-04-18 13:44:31 +00:00
parent f01283e4af
commit e3d3b1407f
1 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ void cheatsDisassemble_AR(u32 hi, u32 lo)
}
#endif
void cheats_ARparser(CHEATS_LIST cheat)
static void cheats_ARparser(CHEATS_LIST cheat)
{
for (int i=0; i < cheat.num; i++)
{
@ -175,7 +175,7 @@ void cheats_ARparser(CHEATS_LIST cheat)
}
}
BOOL cheatsXXcodePreparser(CHEATS_LIST *cheat, char *code)
static BOOL cheatsXXcodePreparser(CHEATS_LIST *cheat, char *code)
{
u16 count = 0;
u16 t = 0;
@ -183,7 +183,7 @@ BOOL cheatsXXcodePreparser(CHEATS_LIST *cheat, char *code)
memset(tmp_buf, 0, sizeof(tmp_buf));
// remove wrong chars
for (int i=0; i < strlen(code); i++)
for (unsigned int i=0; i < strlen(code); i++)
{
switch (code[i])
{