notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12a6e1
)
Use a more lightweight reset method for lightrec
author
Zachary Cook
<zachcook1991@gmail.com>
Thu, 20 Feb 2020 03:27:52 +0000
(22:27 -0500)
committer
Zachary Cook
<zachcook1991@gmail.com>
Thu, 20 Feb 2020 03:27:52 +0000
(22:27 -0500)
Reset is common when using runahead, this seems to prevent crashes
when resets occur rapidly.
libpcsxcore/lightrec/plugin.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/lightrec/plugin.c
b/libpcsxcore/lightrec/plugin.c
index
64587be
..
3cd672a
100644
(file)
--- 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 =