Fix finger slip that seems to pass in a null pointer. That's the advantage of -Werror.

This commit is contained in:
Alcaro 2013-08-07 21:03:34 +02:00
parent a71d14ba5f
commit ed5752e8fa
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ void retro_cheat_set(unsigned index, bool enabled, const char *code)
if (S9xGameGenieToRaw(code, address, val)!=NULL &&
S9xProActionReplayToRaw(code, address, val)!=NULL &&
S9xGoldFingerToRaw(code, address, sram, val, bytes)!=NULL)
S9xGoldFingerToRaw(code, address, &sram, val, bytes)!=NULL)
{ // bad code, ignore
return;
}