mgba icon indicating copy to clipboard operation
mgba copied to clipboard

Star Wars Episode II - Attack Of The Clones (U)(GBA) graphical glitches

Open benderscruffy opened this issue 5 years ago • 2 comments

using the latest dev version during the intro when the words are scrolling up in the first pic black line through the words "solar systems have declared" in the next pic glitchy yellow line under the words "under the leadership of the" both do not appear on my gba sp star wars star wars 1

benderscruffy avatar Jul 06 '19 01:07 benderscruffy

still happens in 0.7.3

benderscruffy avatar Sep 16 '19 11:09 benderscruffy

In reality this game really flickers between the glitched state (as seen in the screenshots above) and the non-glitched state on original hardware.

I was able to match the behaviour seen on hardware pretty well in NanoBoyAdvance by delaying scanline rendering by 32 cycles (previously I rendered at 0 cycles into the scanline). I opted for 32 cycles specifically because it worked well and is also roundabout the time where affine background rendering starts on hardware.

It's worth mentioning that this screen is also sensitive to the same edge-case described in #2589.

fleroviux avatar Jul 12 '22 20:07 fleroviux