From 8f551991a48feab9297056d95ad1d2ff5310e6ee Mon Sep 17 00:00:00 2001 From: toggo9 <121191375+toggo9@users.noreply.github.com> Date: Thu, 29 May 2025 19:54:03 +0200 Subject: [PATCH] Update SNI D943 Audio and Video code. --- src/machine/m_at_socket7_3v.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/machine/m_at_socket7_3v.c b/src/machine/m_at_socket7_3v.c index ca096c6ad..7dd1f9bf0 100644 --- a/src/machine/m_at_socket7_3v.c +++ b/src/machine/m_at_socket7_3v.c @@ -646,11 +646,11 @@ machine_at_d943_init(const machine_t *model) spd_register(SPD_TYPE_EDO, 0x7, 256); - if (gfxcard[0] == VID_INTERNAL) - device_add(&gd5436_onboard_pci_device); + if (gfxcard[0] == VID_INTERNAL) + device_add(machine_get_vid_device(machine)); if (sound_card_current[0] == SOUND_INTERNAL) - device_add(&sb_vibra16s_onboard_device); + machine_snd = device_add(machine_get_snd_device(machine)); return ret; }