]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Do not get confused by reset as vposw frequency changes.
authorToni Wilen <twilen@winuae.net>
Sat, 10 Dec 2016 12:09:55 +0000 (14:09 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 10 Dec 2016 12:09:55 +0000 (14:09 +0200)
custom.cpp

index f945ec6f9ea525ea211b85223ffd58ae1e662584..351864d55109590dd963949d57c009daf0690e56 100644 (file)
@@ -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;