ares-emulator / ares

ares is a cross-platform, open source, multi-system emulator, focusing on accuracy and preservation.
https://ares-emu.net
Other
864 stars 105 forks source link

gba: synchronize CPU with other components more frequently #1506

Closed png183 closed 1 month ago

png183 commented 1 month ago

Reduces the synchronization interval between the GBA CPU and other components from 64 to 16 cycles, which significantly improves PPU timings in the performance profile. These PPU timing improvements can be observed in status-irq-dma.gba, which now frequently gets results within a few cycles of the correct values in situations which were previously off by dozens of cycles. While this does impact performance by ~5-10%, in my testing this is still faster than versions from before commit b145f0f.