diff --git a/AppleWin/source/Video.cpp b/AppleWin/source/Video.cpp index b5b38b57..e952dc7a 100644 --- a/AppleWin/source/Video.cpp +++ b/AppleWin/source/Video.cpp @@ -2385,12 +2385,14 @@ void VideoUpdateFlash() { static UINT nTextFlashCnt = 0; - nTextFlashCnt++; + // Flash rate: + // . NTSC : 60/16 ~= 4Hz + // . PAL : 50/16 ~= 3Hz + nTextFlashCnt = (nTextFlashCnt+1) & 0xf; // BUG: In unthrottled CPU mode, flash rate should not be affected - if(nTextFlashCnt == 60/3) // Flash rate = 3Hz (every 333ms) + if(nTextFlashCnt == 0) { - nTextFlashCnt = 0; g_bTextFlashState = !g_bTextFlashState; // Redraw any FLASHing chars if any text showing. NB. No FLASH g_nAppMode for 80 cols