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
1 changed files with 8 additions and 7 deletions

View File

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