mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-15 09:05:39 +00:00
Fix for other apps having sluggish key response - fixes #569
This commit is contained in:
parent
9cacf8d90d
commit
881e51874b
@ -435,7 +435,7 @@ void EnterMessageLoop(void)
|
||||
else if (g_nAppMode == MODE_PAUSED)
|
||||
Sleep(1); // Stop process hogging CPU - 1ms, as need to fade-out speaker sound buffer
|
||||
else if (g_nAppMode == MODE_LOGO)
|
||||
Sleep(100); // Stop process hogging CPU
|
||||
Sleep(1); // Stop process hogging CPU (NB. don't delay for too long otherwise key input can be slow in other apps - GH#569)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1831,6 +1831,7 @@ _done_saturn:
|
||||
UpdatePaging(0); // Initialize=0
|
||||
}
|
||||
|
||||
// Replicate 80STORE, PAGE2 and HIRES to video sub-system
|
||||
if ((address <= 1) || ((address >= 0x54) && (address <= 0x57)))
|
||||
return VideoSetMode(programcounter,address,write,value,nExecutedCycles);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user