[F] Fix original MMIO keyboard sync deadlock

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-11-16 04:39:42 -05:00
parent 91bed21747
commit ba606fd3c8
@@ -838,7 +838,7 @@ public class KeyboardAndDisplaySimulator extends AbstractMarsToolAndApplication
/////////////////////////////////////////////////////////////////////////////////////////////////////
// This one does the work: update the MMIO Control and optionally the Data register as well
// NOTE: last argument TRUE means update only the MMIO Control register; FALSE means update both Control and Data.
private synchronized void updateMMIOControlAndData(int controlAddr, int controlValue, int dataAddr, int dataValue, boolean controlOnly)
private void updateMMIOControlAndData(int controlAddr, int controlValue, int dataAddr, int dataValue, boolean controlOnly)
{
if (!this.isBeingUsedAsAMarsTool || connectButton.isConnected())
{