mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-04 01:13:35 +00:00
When 66b992c fixed https://bugs.dolphin-emu.org/issues/12133, it did so by removing the broken address calculation entirely and always using the slow path. This caused a performance regression, https://bugs.dolphin-emu.org/issues/12477. This commit instead replaces the broken address calculation with a BAT lookup. If the BAT lookup succeeds, we can use the old fast path. Otherwise we use the slow path. Intends to improve https://bugs.dolphin-emu.org/issues/12477.