aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/lightrec/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/lightrec/plugin.c')
-rw-r--r--libpcsxcore/lightrec/plugin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libpcsxcore/lightrec/plugin.c b/libpcsxcore/lightrec/plugin.c
index 64587be..3cd672a 100644
--- a/libpcsxcore/lightrec/plugin.c
+++ b/libpcsxcore/lightrec/plugin.c
@@ -564,8 +564,10 @@ static void lightrec_plugin_shutdown(void)
static void lightrec_plugin_reset(void)
{
- lightrec_plugin_shutdown();
- lightrec_plugin_init();
+// Called in every frame (or every frame where input changes) when using runahead
+// lightrec_plugin_shutdown();
+// lightrec_plugin_init();
+ lightrec_invalidate_all(lightrec_state);
}
R3000Acpu psxRec =