From: twinaphex Date: Fri, 21 Feb 2020 00:49:28 +0000 (+0100) Subject: Revert "Use a more lightweight reset method for lightrec" X-Git-Tag: r24l~662 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e4b2cc27ccb08c1063c3db575d92191d141133;p=pcsx_rearmed.git Revert "Use a more lightweight reset method for lightrec" This reverts commit 7070d5c660963aec56e1d667211b4a09a62d400d. --- 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 =