Fixed the issue of GnG not running on option B hardware

This commit is contained in:
Stephen White 2019-12-30 13:00:47 +11:00
parent 8eb61f03bc
commit e748a0687e

View file

@ -596,14 +596,15 @@ void UpdateScreen()
} }
if (emulating != IEC_COMMANDS) if (emulating != IEC_COMMANDS)
{ {
//refreshUartStatusDisplay = // Putting the semaphore around diskCaddy.Update() keeps this core awake and this breaks emulation on option B hardware.
#if not defined(EXPERIMENTALZERO) // Don't know why. Disabling for now.
core0RefreshingScreen.Acquire(); //#if not defined(EXPERIMENTALZERO)
#endif // core0RefreshingScreen.Acquire();
//#endif
diskCaddy.Update(); diskCaddy.Update();
#if not defined(EXPERIMENTALZERO) //#if not defined(EXPERIMENTALZERO)
core0RefreshingScreen.Release(); // core0RefreshingScreen.Release();
#endif //#endif
} }
//if (options.GetSupportUARTInput()) //if (options.GetSupportUARTInput())