Re: [hatari-devel] Little graphic zoom bug in hatari after memory restore

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

So according to Eero's answear and your last version of the patch, I think it's safe to upload it.

Do you want to upload it ?

Regards,

Laurent


Le 30/12/2020 à 12:19, Jens Guenther a écrit :
Hi,

Laurent Sallafranque <laurent.sallafranque@xxxxxxx> wrote:

No, it doesn't work. When I restore, the screen it completly glitchy
with your patch.
OK, so full Videl reset is not necessary, but it should be checked if the
machine is "Falcon" or it will crash on other machines:

diff --git a/src/falcon/videl.c b/src/falcon/videl.c
index cf5ce874..132cc576 100644
--- a/src/falcon/videl.c
+++ b/src/falcon/videl.c
@@ -151,6 +151,9 @@ void VIDEL_MemorySnapShot_Capture(bool bSave)
  {
         /* Save/Restore details */
         MemorySnapShot_Store(&videl, sizeof(videl));
+
+       if (!bSave && Config_IsMachineFalcon())
+               Videl_ScreenModeChanged(true);
  }

  /**

Jens





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/