mirror of https://github.com/snes9xgit/snes9x.git
Add GoldFinger cheats too. Just for completeness' sake, I don't think anyone'll use them.
This commit is contained in:
parent
a720f8280f
commit
6c3a7f77f3
|
@ -228,8 +228,12 @@ void retro_cheat_set(unsigned index, bool enabled, const char *code)
|
||||||
uint32 address;
|
uint32 address;
|
||||||
uint8 val;
|
uint8 val;
|
||||||
|
|
||||||
|
bool8 sram;
|
||||||
|
uint8 bytes[3];//used only by GoldFinger, ignored for now
|
||||||
|
|
||||||
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)
|
||||||
{ // bad code, ignore
|
{ // bad code, ignore
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue