doomhack / GBADoom

A port of prBoom to the Nintendo GBA.
214 stars 27 forks source link

Weapon sprites on the right hand side are glitchy #28

Closed Kippykip closed 2 years ago

Kippykip commented 2 years ago

After 2.2-2.3, if you equip something like the fists you'll notice some vertical rows of pixels flicker image image image

GB-CG commented 2 years ago

Can confirm on hardware too.

1
doomhack commented 2 years ago

So this is happening because I can't add numbers properly.

I put the neg one array and the screen height array in an unused pocket of VRAM but there wasn't enough space so it was overflowing into the framebuffer data.

Fixed.