tonioni / WinUAE

WinUAE Amiga emulator
http://www.winuae.net/
545 stars 87 forks source link

Scanrate fix for visual debugger #226

Closed Waccoon closed 2 years ago

Waccoon commented 2 years ago
Waccoon commented 2 years ago

I noticed when changing the screenmode to DoubleNTSC and then back to NTSC, the maximum values were never clamped, resulting in the visual debugger filling the whole screen. I tested this fix with all different screenmodes including HD720 and HighGFX and it seems to work fine. As implemented, it's only important that all maximum dimensions are set correctly at the end of the frame on vsync, but the values still accumulate correctly per scanline.