Serial: Give the OKI IF386AX 16450 serial ports instead of 8250.

This commit is contained in:
OBattler
2025-03-29 01:22:35 +01:00
parent 67a5e75cc5
commit fcd6bd9c66

View File

@@ -999,7 +999,8 @@ void
serial_standalone_init(void)
{
while (next_inst < SERIAL_MAX)
device_add_inst(&ns8250_device, next_inst + 1);
device_add_inst(!strcmp(machine_get_internal_name(), "if386sx") ? &ns16450_device :
&ns8250_device, next_inst + 1);
};
const device_t ns8250_device = {