lightrec: Improve hack around icache emulation
authorPaul Cercueil <paul@crapouillou.net>
Sun, 26 Nov 2023 14:04:07 +0000 (15:04 +0100)
committernotaz <notasas@gmail.com>
Sun, 26 Nov 2023 22:07:09 +0000 (00:07 +0200)
commit0e481d53e19263f5b62533e7c595bb99f793a99f
tree17182a2d4756e51194d95834e38db6425beb9223
parent5fdfbd004cb8168780a0ac32127c8fb7fffae2ca
lightrec: Improve hack around icache emulation

Invalidate the whole code buffer on each call to the .clear callback.
This fixes a crash after finishing a race in F1 Arcade, and does not
seem to cause issues with the other F1 games.

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