From 91e682459f60f7da6bc555742ac9d5dff3d234f7 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 11 Jan 2023 20:14:59 +0200 Subject: [PATCH] Initialize all LOF status variables to prevent unnecessary lace/non-lace detection after second frame when loading statefile. --- custom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom.cpp b/custom.cpp index 8496531c..33086e37 100644 --- a/custom.cpp +++ b/custom.cpp @@ -14476,6 +14476,8 @@ uae_u8 *restore_custom(uae_u8 *src) } setextblank(); + lof_prev_lastline = lof_lastline = lof_store != 0; + DISK_restore_custom(dskpt, dsklen, dskbytr); return src; -- 2.47.3