lightrec: Alloc code buffer with standard memory map
authorPaul Cercueil <paul@crapouillou.net>
Tue, 25 Jul 2023 17:58:44 +0000 (19:58 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Tue, 25 Jul 2023 19:02:44 +0000 (21:02 +0200)
commit82183d4c0d9cd64007504a53e333c7cb7d745f88
tree0be4163800516e8ea2e2a22338c32954ce32e79f
parent43cb60ce6554566358bcea86f8df56c05316020b
lightrec: Alloc code buffer with standard memory map

Provide Lightrec with a code buffer even when using a non-custom memory
map, as some platforms (NGC, Wii) cannot emit code outside a provided
code buffer.

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