diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index ddc850d9..aa7b3c6a 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -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; }