From e748a0687e54c131bc366c3b614144b62dcf425f Mon Sep 17 00:00:00 2001 From: Stephen White Date: Mon, 30 Dec 2019 13:00:47 +1100 Subject: [PATCH] Fixed the issue of GnG not running on option B hardware --- src/main.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 966da44..e351819 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -596,14 +596,15 @@ void UpdateScreen() } if (emulating != IEC_COMMANDS) { - //refreshUartStatusDisplay = -#if not defined(EXPERIMENTALZERO) - core0RefreshingScreen.Acquire(); -#endif + // Putting the semaphore around diskCaddy.Update() keeps this core awake and this breaks emulation on option B hardware. + // Don't know why. Disabling for now. +//#if not defined(EXPERIMENTALZERO) +// core0RefreshingScreen.Acquire(); +//#endif diskCaddy.Update(); -#if not defined(EXPERIMENTALZERO) - core0RefreshingScreen.Release(); -#endif +//#if not defined(EXPERIMENTALZERO) +// core0RefreshingScreen.Release(); +//#endif } //if (options.GetSupportUARTInput())