From 881e51874b9723f0280792c78f2217e4ed37f2bf Mon Sep 17 00:00:00 2001 From: tomcw Date: Sat, 30 Jun 2018 18:21:28 +0100 Subject: [PATCH] Fix for other apps having sluggish key response - fixes #569 --- source/Applewin.cpp | 2 +- source/Memory.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Applewin.cpp b/source/Applewin.cpp index de24d066..356a869c 100644 --- a/source/Applewin.cpp +++ b/source/Applewin.cpp @@ -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) } } } diff --git a/source/Memory.cpp b/source/Memory.cpp index d7537bc3..79357f8d 100644 --- a/source/Memory.cpp +++ b/source/Memory.cpp @@ -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);