libretro / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
168 stars 120 forks source link

Update lightrec 20240517 #831

Closed pcercuei closed 6 months ago

pcercuei commented 6 months ago

Some misc. fixes to the constant propagation, CPU count detection for the threaded recompiler, disabled a part of the MULT/DIV optimization that misbehaved, and added a workaround for a buggy Lightning on x86.

I also reverted the change that required a specific memory map, it will now work again with setups where the PSX memories are mapped at different offsets.

Fixes #830.

pcercuei commented 6 months ago

Updated. I moved the functionality of lightrec_plugin_clear_block_caches() directly inside lightrec_set_cycles_per_opcode(), so PCSX doesn't need to mess with Lightrec's internals anymore.