From 9be74a7a466c8fb834d15d5416ac42ed921f3134 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 19 Dec 2025 18:02:14 -0300 Subject: [PATCH] Change MS-6318 AC97 codec to VT1611A matching pictures, and add it to the VIA controller if the onboard CT5880 is not selected --- src/machine/m_at_socket370.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/machine/m_at_socket370.c b/src/machine/m_at_socket370.c index ee75752db..a1ec1a30c 100644 --- a/src/machine/m_at_socket370.c +++ b/src/machine/m_at_socket370.c @@ -611,10 +611,9 @@ machine_at_ms6318_init(const machine_t *model) hwm_values.temperatures[1] += 2; /* System offset */ hwm_values.temperatures[2] = 0; /* unused */ - if (sound_card_current[0] == SOUND_INTERNAL) { + if (sound_card_current[0] == SOUND_INTERNAL) device_add(machine_get_snd_device(machine)); - device_add(&stac9708_device); - } + device_add(&vt1611a_device); /* for both VIA and CT5880 options */ return ret; }