Add CS4297 codec to onboard ES1371 implementations

This commit is contained in:
RichardG867
2021-07-22 16:06:45 -03:00
parent 58973ce036
commit c2e9ba1db5
4 changed files with 24 additions and 5 deletions

View File

@@ -468,8 +468,10 @@ machine_at_tsunamiatx_init(const machine_t *model)
device_add(&i440bx_device);
device_add(&piix4e_device);
if (sound_card_current == SOUND_INTERNAL)
device_add(&es1371_onboard_device);
if (sound_card_current == SOUND_INTERNAL) {
device_add(&es1371_onboard_device);
device_add(&cs4297_device); /* found on other Tyan boards around the same time */
}
device_add(&pc87309_device);
device_add(&keyboard_ps2_ami_pci_device);
@@ -678,8 +680,10 @@ machine_at_ms6168_common_init(const machine_t *model)
if (gfxcard == VID_INTERNAL)
device_add(&voodoo_3_2000_agp_onboard_8m_device);
if (sound_card_current == SOUND_INTERNAL)
device_add(&es1371_onboard_device);
if (sound_card_current == SOUND_INTERNAL) {
device_add(&es1371_onboard_device);
device_add(&cs4297_device);
}
}