Fixed the double update on the rotary encoder breaking 1581 support.

This commit is contained in:
Stephen White 2019-12-29 18:40:52 +11:00
parent 610af8efae
commit 8eb61f03bc

View file

@ -276,8 +276,6 @@ void IEC_Bus::ReadEmulationMode1581(void)
IOPort* portB = 0; IOPort* portB = 0;
gplev0 = read32(ARM_GPIO_GPLEV0); gplev0 = read32(ARM_GPIO_GPLEV0);
ReadGPIOUserInput(3);//check less button states, save time
portB = port; portB = port;
bool ATNIn = (gplev0 & PIGPIO_MASK_IN_ATN) == (invertIECInputs ? PIGPIO_MASK_IN_ATN : 0); bool ATNIn = (gplev0 & PIGPIO_MASK_IN_ATN) == (invertIECInputs ? PIGPIO_MASK_IN_ATN : 0);