From fcb38e78272eee785073051616e8d58fb83f735a Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 10 Dec 2016 14:09:55 +0200 Subject: [PATCH] Do not get confused by reset as vposw frequency changes. --- custom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom.cpp b/custom.cpp index f945ec6f..351864d5 100644 --- a/custom.cpp +++ b/custom.cpp @@ -8657,6 +8657,8 @@ void custom_reset (bool hardreset, bool keyboardreset) dmal = 0; init_hz_normal(); + // init_hz sets vpos_count + vpos_count = 0; vpos_lpen = -1; lof_changing = 0; lof_togglecnt_nlace = lof_togglecnt_lace = 0; -- 2.47.3