Add the OPTi 82c931 audio controller

All drivers work outside of CDSETUP.SYS from the v2.04 DOS/Win3.1 driver package failing to detect the card. SNDINIT from the same package does work so audio is functional.
This commit is contained in:
win2kgamer
2025-11-30 17:51:06 -06:00
parent 4d577843de
commit 2f594a1e8f
4 changed files with 357 additions and 8 deletions

View File

@@ -614,6 +614,10 @@ isapnp_write_common(isapnp_t *dev, isapnp_card_t *card, isapnp_device_t *ld, uin
break;
case 0x07: /* Logical Device Number */
if (card == NULL) {
isapnp_log("ISAPnP: Card is null on Logical Device select\n");
break;
}
if (card->multiple_lds) {
CHECK_CURRENT_CARD();