tonioni / WinUAE

WinUAE Amiga emulator
http://www.winuae.net/
552 stars 90 forks source link

Alignment problem when switching between Single & Double line modes via filter presets #280

Closed johnnovak closed 9 months ago

johnnovak commented 10 months ago

Use the attached config: winuae.zip

But what you really need to reproduce it is the below two filter presets:

[FilterPresets]
Laced PAL 3.0x=0,0,4000.000000,1000.000000,1.000000,1.000000,0.000000,0.000000,0,0,17,1,0,0,2,2,0,0,0,0,0,0,0,0,0,1,0,0,-1,0,-1,0
PAL 3.0x=0,0,1000.000000,1000.000000,1.000000,1.000000,0.000000,0.000000,0,0,17,1,1,1,2,2,0,0,0,0,0,0,0,0,0,1,0,0,-1,0,-1,0

Repro steps

  1. Start WinUAE and set a basic A500 config. We'll reproduce the bug at the boot screen 😎

  2. F12, go to Hosts / Filters, select the PAL 3.0x preset, then press Load and OK. The output should look like this:

image

  1. So far so good. Now load the Laced PAL 3.0x preset. Oops!

image

  1. Resizing the window, or switching to fullscreen/full-windowed fixes it as it forces a refresh.

  2. Let's do it in the other direction! Load PAL 3.0x again. Result:

image

tonioni commented 10 months ago

Partially fixed. Immediately after loading the profile, display won't still be fully updated but it will automatically reset after exiting the GUI.

johnnovak commented 10 months ago

Confirming it works now like you've described. I think that's an acceptable solution.

johnnovak commented 9 months ago

Closing as I think the current solution is fine.