diff options
author | aliaspider | 2014-10-31 05:29:24 +0100 |
---|---|---|
committer | aliaspider | 2014-10-31 05:29:24 +0100 |
commit | 4a587c43c72727e781356964da810bf20470b22b (patch) | |
tree | b4c21722d45d40b6caa7405fc6c7cdc80e6f0dc0 | |
parent | fe1e946c5aea3c52d15ce237168abab823e4a8ca (diff) | |
download | snesemu-4a587c43c72727e781356964da810bf20470b22b.tar.gz snesemu-4a587c43c72727e781356964da810bf20470b22b.tar.bz2 snesemu-4a587c43c72727e781356964da810bf20470b22b.zip |
correct retro_load_game
-rw-r--r-- | libretro.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -682,14 +682,14 @@ bool retro_load_game(const struct retro_game_info* game) { CPU.Flags = 0; - return LoadROM(game->path); + + if (!LoadROM(game->path)) + return false; Settings.FrameTime = (Settings.PAL ? Settings.FrameTimePAL : Settings.FrameTimeNTSC); - LoadSRAM(S9xGetFilename(".srm")); - - return 0; + return LoadSRAM(S9xGetFilename(".srm")); } bool retro_load_game_special(unsigned game_type, |