From 37e4b2cc27ccb08c1063c3db575d92191d141133 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 21 Feb 2020 01:49:28 +0100 Subject: [PATCH] Revert "Use a more lightweight reset method for lightrec" This reverts commit 7070d5c660963aec56e1d667211b4a09a62d400d. --- libpcsxcore/lightrec/plugin.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libpcsxcore/lightrec/plugin.c b/libpcsxcore/lightrec/plugin.c index 3cd672a7..64587be6 100644 --- a/libpcsxcore/lightrec/plugin.c +++ b/libpcsxcore/lightrec/plugin.c @@ -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 = -- 2.39.5