Re: [hatari-devel] screen no more "refreshed" when Hatari is paused with SDL2 ?

[ Thread Index | Date Index | More Archives ]

Le 26/01/2018 à 21:22, Eero Tamminen a écrit :

On 01/26/2018 03:03 AM, Thorsten Otto wrote:
On Donnerstag, 25. Januar 2018 23:45:59 CET Nicolas Pomarède wrote:
Do other see this under Linux ? Maybe it's part of SDL2 to not refresh
in this case for better rendering performance,

It's been there since Thomas added SDL2 support to Hatari,
i.e. already before v2.0 release.

Yes, it's quite possible since then, it's just that it didn't bothered me so far as long as I didn't have to precisely count some pixels on screen :)

I looked more into the code, and Hatari SDL eventloop didn't handle
expose events properly.  That should now be fixed:

Great, it works. But there's a small limitation : it works when hatari is paused (with 'pause' key), but not when hatari's menu is displayed (with F12).
Maybe sthg similar is needed too in gui-sdl/sdlgui.c near line 1405 ?


Mail converted by MHonArc 2.6.19+