mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-29 21:56:12 +00:00
Merge from AppleWin-Tom @ r396-HEAD:
. Fixed FLASH rate (was too fast)
This commit is contained in:
parent
5e4c7f402b
commit
8e4324835d
@ -2250,7 +2250,8 @@ void VideoUpdateFlash()
|
|||||||
|
|
||||||
nTextFlashCnt++;
|
nTextFlashCnt++;
|
||||||
|
|
||||||
if(nTextFlashCnt == 60/6) // Flash rate = 6Hz (every 166ms)
|
// BUG: In unthrottled CPU mode, flash rate should not be affected
|
||||||
|
if(nTextFlashCnt == 60/3) // Flash rate = 3Hz (every 333ms)
|
||||||
{
|
{
|
||||||
nTextFlashCnt = 0;
|
nTextFlashCnt = 0;
|
||||||
g_bTextFlashState = !g_bTextFlashState;
|
g_bTextFlashState = !g_bTextFlashState;
|
||||||
|
Loading…
Reference in New Issue
Block a user