mirror of https://github.com/snes9xgit/snes9x.git
Fix finger slip that seems to pass in a null pointer. That's the advantage of -Werror.
This commit is contained in:
parent
a71d14ba5f
commit
ed5752e8fa
|
@ -233,7 +233,7 @@ void retro_cheat_set(unsigned index, bool enabled, const char *code)
|
||||||
|
|
||||||
if (S9xGameGenieToRaw(code, address, val)!=NULL &&
|
if (S9xGameGenieToRaw(code, address, val)!=NULL &&
|
||||||
S9xProActionReplayToRaw(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
|
{ // bad code, ignore
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue