lightrec: Only sync register cache before savestate if using dynarec
authorPaul Cercueil <paul@crapouillou.net>
Wed, 27 Apr 2022 20:00:11 +0000 (21:00 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Wed, 27 Apr 2022 20:01:23 +0000 (21:01 +0100)
commit02dbc8694f303728f19734328166a1c6dfef289c
tree3082232fb81ac292d70f2f80a82cff6b6221a345
parentedbb8178300717f1597ab41e62722e5683c39028
lightrec: Only sync register cache before savestate if using dynarec

Synchronizing Lightrec's register cache into PCSX' psxRegs variable must
be done only if using Lightrec, not when using PCSX' interpreter.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/misc.c