Give the NEC PowerMate V its (optional) onboard OPTi 82c930 audio

This commit is contained in:
win2kgamer
2025-11-23 16:54:09 -06:00
parent 0ca1a201d7
commit 7e95800239
2 changed files with 5 additions and 2 deletions

View File

@@ -871,6 +871,9 @@ machine_at_powermatev_init(const machine_t *model)
pci_register_slot(0x11, PCI_CARD_NORMAL, 1, 2, 3, 4);
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
if (sound_card_current[0] == SOUND_INTERNAL)
machine_snd = device_add(machine_get_snd_device(machine));
device_add_params(machine_get_kbc_device(machine), (void *) model->kbc_params);
device_add(&i430fx_device);
device_add(&piix_device);

View File

@@ -12634,7 +12634,7 @@ const machine_t machines[] = {
.max_multi = 2.0
},
.bus_flags = MACHINE_PS2_PCI,
.flags = MACHINE_IDE_DUAL | MACHINE_APM,
.flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_SOUND | MACHINE_GAMEPORT,
.ram = {
.min = 8192,
.max = 131072,
@@ -12653,7 +12653,7 @@ const machine_t machines[] = {
.fdc_device = NULL,
.sio_device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.snd_device = &opti_82c930_device,
.net_device = NULL
},
/* Has AMIKey Z(!) KBC firmware. */