Removed onboard sound from three machines

Per richardg867
This commit is contained in:
MaxwellS04
2025-01-18 04:14:23 +07:00
parent ffe6af94cf
commit 9b7d5198d7
3 changed files with 6 additions and 15 deletions

View File

@@ -695,9 +695,6 @@ machine_at_gw2kma_init(const machine_t *model)
pci_register_slot(0x10, PCI_CARD_NORMAL, 4, 1, 2, 3); pci_register_slot(0x10, PCI_CARD_NORMAL, 4, 1, 2, 3);
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 4); pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 4);
if ((sound_card_current[0] == SOUND_INTERNAL) && machine_get_snd_device(machine)->available())
machine_snd = device_add(machine_get_snd_device(machine));
device_add(&i430vx_device); device_add(&i430vx_device);
device_add(&piix3_device); device_add(&piix3_device);
device_add(&fdc37c932fr_device); device_add(&fdc37c932fr_device);

View File

@@ -250,9 +250,6 @@ machine_at_vs440fx_init(const machine_t *model)
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1); pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0); pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
if (sound_card_current[0] == SOUND_INTERNAL)
device_add(machine_get_snd_device(machine));
device_add(&i440fx_device); device_add(&i440fx_device);
device_add(&piix3_device); device_add(&piix3_device);
device_add(&keyboard_ps2_intel_ami_pci_device); device_add(&keyboard_ps2_intel_ami_pci_device);
@@ -288,9 +285,6 @@ machine_at_gw2kvenus_init(const machine_t *model)
pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1); pci_register_slot(0x13, PCI_CARD_NORMAL, 2, 3, 4, 1);
pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0); pci_register_slot(0x07, PCI_CARD_SOUTHBRIDGE, 0, 0, 0, 0);
if (sound_card_current[0] == SOUND_INTERNAL)
device_add(machine_get_snd_device(machine));
device_add(&i440fx_device); device_add(&i440fx_device);
device_add(&piix3_device); device_add(&piix3_device);
device_add(&keyboard_ps2_intel_ami_pci_device); device_add(&keyboard_ps2_intel_ami_pci_device);

View File

@@ -11200,7 +11200,7 @@ const machine_t machines[] = {
.max_multi = 3.0 .max_multi = 3.0
}, },
.bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB, .bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB,
.flags = MACHINE_IDE_DUAL | MACHINE_SOUND | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB, .flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB,
.ram = { .ram = {
.min = 8192, .min = 8192,
.max = 131072, .max = 131072,
@@ -11215,7 +11215,7 @@ const machine_t machines[] = {
.fdc_device = NULL, .fdc_device = NULL,
.sio_device = NULL, .sio_device = NULL,
.vid_device = NULL, .vid_device = NULL,
.snd_device = &sb_vibra16c_onboard_device, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
@@ -13989,7 +13989,7 @@ const machine_t machines[] = {
.max_multi = 3.5 .max_multi = 3.5
}, },
.bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB, .bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB,
.flags = MACHINE_IDE_DUAL | MACHINE_SOUND | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB, .flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB,
.ram = { .ram = {
.min = 8192, .min = 8192,
.max = 524288, .max = 524288,
@@ -14004,7 +14004,7 @@ const machine_t machines[] = {
.fdc_device = NULL, .fdc_device = NULL,
.sio_device = NULL, .sio_device = NULL,
.vid_device = NULL, .vid_device = NULL,
.snd_device = &cs4236b_device, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
/* Has the AMIKey-2 (updated 'H') KBC firmware. */ /* Has the AMIKey-2 (updated 'H') KBC firmware. */
@@ -14113,7 +14113,7 @@ const machine_t machines[] = {
.max_multi = 3.5 .max_multi = 3.5
}, },
.bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB, .bus_flags = MACHINE_PS2_PCI | MACHINE_BUS_USB,
.flags = MACHINE_IDE_DUAL | MACHINE_SOUND | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB, .flags = MACHINE_IDE_DUAL | MACHINE_APM | MACHINE_GAMEPORT | MACHINE_USB,
.ram = { .ram = {
.min = 8192, .min = 8192,
.max = 524288, .max = 524288,
@@ -14128,7 +14128,7 @@ const machine_t machines[] = {
.fdc_device = NULL, .fdc_device = NULL,
.sio_device = NULL, .sio_device = NULL,
.vid_device = NULL, .vid_device = NULL,
.snd_device = &cs4236b_device, .snd_device = NULL,
.net_device = NULL .net_device = NULL
}, },
/* Has the AMIKey-2 (updated 'H') KBC firmware. */ /* Has the AMIKey-2 (updated 'H') KBC firmware. */