The LG Prime3C no longer calls the IDE handler on register write if it is the variant without IDE.

This commit is contained in:
OBattler
2021-06-07 00:12:53 +02:00
parent dc6e07a162
commit f0da82fa2b

View File

@@ -127,7 +127,8 @@ prime3c_write(uint16_t addr, uint8_t val, void *priv)
case 0xc5:
IDE_SIDE_ADDRESS = (val & 0xfc) | 0x02;
prime3c_ide_handler(dev);
if (HAS_IDE_FUNCTIONALITY)
prime3c_ide_handler(dev);
break;
case 0xc6: