Revert "Use a more lightweight reset method for lightrec"
authortwinaphex <libretro@gmail.com>
Fri, 21 Feb 2020 00:49:28 +0000 (01:49 +0100)
committertwinaphex <libretro@gmail.com>
Fri, 21 Feb 2020 00:49:28 +0000 (01:49 +0100)
This reverts commit 7070d5c660963aec56e1d667211b4a09a62d400d.

libpcsxcore/lightrec/plugin.c

index 3cd672a..64587be 100644 (file)
@@ -564,10 +564,8 @@ static void lightrec_plugin_shutdown(void)
 
 static void lightrec_plugin_reset(void)
 {
-// Called in every frame (or every frame where input changes) when using runahead
-//     lightrec_plugin_shutdown();
-//     lightrec_plugin_init();
-       lightrec_invalidate_all(lightrec_state);
+       lightrec_plugin_shutdown();
+       lightrec_plugin_init();
 }
 
 R3000Acpu psxRec =