aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2014-10-31 09:19:24 +0100
committeraliaspider2014-10-31 09:19:24 +0100
commit6097277f9119c2ae632eaf05a581a839c01a9366 (patch)
tree0e5b8be1bbed10a3aec3ab18002572b24701cbdf
parent2e12730a7c94a57e9fe1ecd16c84cafeb8a80d88 (diff)
downloadsnesemu-6097277f9119c2ae632eaf05a581a839c01a9366.tar.gz
snesemu-6097277f9119c2ae632eaf05a581a839c01a9366.tar.bz2
snesemu-6097277f9119c2ae632eaf05a581a839c01a9366.zip
fix retro_load_game, don't return false when no srm is found.
-rw-r--r--libretro.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libretro.c b/libretro.c
index 0cb6c1c..4179d52 100644
--- a/libretro.c
+++ b/libretro.c
@@ -706,7 +706,9 @@ bool retro_load_game(const struct retro_game_info* game)
Settings.FrameTime = (Settings.PAL ? Settings.FrameTimePAL :
Settings.FrameTimeNTSC);
- return LoadSRAM(S9xGetFilename(".srm"));
+ LoadSRAM(S9xGetFilename(".srm"));
+
+ return true;
}
bool retro_load_game_special(unsigned game_type,