Run SysReset() only from retro_run, causes retroarch to freeze...
authorretro-wertz <retro-wertz@users.noreply.github.com>
Thu, 7 Mar 2019 10:36:22 +0000 (18:36 +0800)
committerretro-wertz <retro-wertz@users.noreply.github.com>
Thu, 7 Mar 2019 10:36:22 +0000 (18:36 +0800)
... on some platforms

frontend/libretro.c

index 5e5d88c..ec0065d 100644 (file)
@@ -1289,7 +1289,10 @@ bool retro_load_game(const struct retro_game_info *info)
                return false;
        }
 
-       SysReset();
+       /* TODO: Calling SysReset() outside retro_run for some system
+        * causes RetroArch to freeze, e.g Ludo */
+       //SysReset();
+       rebootemu = 1;
 
        if (LoadCdrom() == -1) {
                log_cb(RETRO_LOG_INFO, "could not load CD\n");