Re: [hatari-devel] Little graphic zoom bug in hatari after memory restore |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Little graphic zoom bug in hatari after memory restore
- From: Jens Guenther <dbotw@xxxxxxx>
- Date: Wed, 30 Dec 2020 12:19:25 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609327166; bh=U+p/G0FwRAQo9CuVOUnFNtP+dMpThW5wMCcgEpNozBI=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References; b=DWlvxVLFbiQJEMVaQQYhte129aFNppcjm3n0tPDUKw7ECXTKjLhbhsIaHUf3/Pddb rxdxyRHbYaHg9S9FaAKi4nzwLhcugdS5SKfPitNLeIi6V0ncFeVJaseLPqEBmwUXP1 vYjdWMDBY+m4cmZyYYXLiec97CcHG6c6vlsT3LS8=
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