From: Toni Wilen Date: Sat, 10 Dec 2016 12:09:55 +0000 (+0200) Subject: Do not get confused by reset as vposw frequency changes. X-Git-Tag: 3400~10 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=fcb38e78272eee785073051616e8d58fb83f735a;p=francis%2Fwinuae.git Do not get confused by reset as vposw frequency changes. --- 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;