notaz / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
394 stars 210 forks source link

psxdma: Fix endian issue in gpuInterrupt() #326

Closed pcercuei closed 11 months ago

pcercuei commented 11 months ago

The HW_DMA2_MADR register contains little-endian data, therefore it must always be accessed through one of the swap macros.

This fixes the slow DMA linked-list walking on big-endian systems.

pcercuei commented 11 months ago

@notaz can you cherry-pick it to the libretro repo?