paoda/zba

"Cloud wave" effect half-working in Pokemon Emerald

paoda opened this issue · 1 comments

paoda commented
zba_L7TVnOZmd3.mp4

See that below a certain scanline, the clouds present are static, only scrolling up unlike above, where clouds are scrolled both horizontally and vertically.

paoda commented

This is because, in my emulator, HDMAs are allowed to be executed during VBLANK, which should not be the case.

To resolve this issue, ensure that HDMAs are not run during VBLANK. You determine whether the PPU is in VBLANK by checking DISPSTAT.

Fixed by 887bd89