Fix for other apps having sluggish key response - fixes #569

This commit is contained in:
tomcw 2018-06-30 18:21:28 +01:00
parent 9cacf8d90d
commit 881e51874b
2 changed files with 2 additions and 1 deletions

View File

@ -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)
}
}
}

View File

@ -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);