Also apply the IRQ 2 fix to the WD1002 family.

This commit is contained in:
OBattler
2024-08-24 06:24:35 +02:00
parent f81541c8f6
commit 9da2cef53d

View File

@@ -1683,7 +1683,7 @@ st506_init(const device_t *info)
dev->base = device_get_config_hex16("base");
dev->irq = device_get_config_int("irq");
if (dev->irq == 2)
dev->switches |= 0x40;
dev->switches |= 0x80;
dev->bios_addr = device_get_config_hex20("bios_addr");
break;
@@ -1717,7 +1717,7 @@ st506_init(const device_t *info)
dev->base = device_get_config_hex16("base");
dev->irq = device_get_config_int("irq");
if (dev->irq == 2)
dev->switches |= 0x40;
dev->switches |= 0x80;
dev->bios_addr = device_get_config_hex20("bios_addr");
break;