diff options
author | Twinaphex | 2020-02-21 01:10:05 +0100 |
---|---|---|
committer | GitHub | 2020-02-21 01:10:05 +0100 |
commit | 04758b20151324552ada2f31460078f5c6eb01e2 (patch) | |
tree | f4659f567e8c80973294c165d77a0ab2ad8e5433 /libpcsxcore/lightrec/plugin.c | |
parent | dfcd7153048c2f6d479dfcd328ee2c0e1e0784ed (diff) | |
parent | 7070d5c660963aec56e1d667211b4a09a62d400d (diff) | |
download | pcsx_rearmed-04758b20151324552ada2f31460078f5c6eb01e2.tar.gz pcsx_rearmed-04758b20151324552ada2f31460078f5c6eb01e2.tar.bz2 pcsx_rearmed-04758b20151324552ada2f31460078f5c6eb01e2.zip |
Merge pull request #386 from ZachCook/master
Fix second instance runahead
Diffstat (limited to 'libpcsxcore/lightrec/plugin.c')
-rw-r--r-- | libpcsxcore/lightrec/plugin.c | 6 |
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 = |