psxmem: Use Lightrec memory map even for interpreter
authorPaul Cercueil <paul@crapouillou.net>
Sun, 12 Jun 2022 15:59:14 +0000 (16:59 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sun, 12 Jun 2022 15:59:25 +0000 (16:59 +0100)
commit640c8536fb425656656288bf7c1c06310336bdb0
tree831dcc4fecac0b405fa5bad51f4d6790fa9c261c
parent14a530af588848d3606e1f6ac3d18e3eb1b5ca3c
psxmem: Use Lightrec memory map even for interpreter

The CPU emulation method (interpreter or dynarec) can be switched at
runtime. Therefore we must use Lightrec's memory map even when the
interpreter is used.

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