Sensation: Make Sensation onboard audio an internal device and give the machine the sound and gameport flags

This commit is contained in:
win2kgamer
2026-01-31 22:27:47 -06:00
parent 506f1f1724
commit 0af726eb35
2 changed files with 5 additions and 3 deletions

View File

@@ -392,7 +392,6 @@ machine_at_sensation1_init(const machine_t *model)
device_add(&vl82c113_device);
device_add(&pssj_1e0_device);
device_add(&sensationaud_device);
if (fdc_current[0] == FDC_INTERNAL)
device_add(&fdc_at_nsc_dp8473_device);
@@ -400,6 +399,9 @@ machine_at_sensation1_init(const machine_t *model)
//if (gfxcard[0] == VID_INTERNAL)
// device_add(machine_get_vid_device(machine));
if (sound_card_current[0] == SOUND_INTERNAL)
machine_snd = device_add(machine_get_snd_device(machine));
return ret;
}

View File

@@ -7806,7 +7806,7 @@ const machine_t machines[] = {
.max_multi = 0
},
.bus_flags = MACHINE_PS2,
.flags = MACHINE_IDE | MACHINE_APM,
.flags = MACHINE_IDE | MACHINE_SOUND | MACHINE_GAMEPORT | MACHINE_APM,
.ram = {
.min = 2048,
.max = 65536,
@@ -7825,7 +7825,7 @@ const machine_t machines[] = {
.fdc_device = NULL,
.sio_device = NULL,
.vid_device = NULL,
.snd_device = NULL,
.snd_device = &sensationaud_device,
.net_device = NULL
},
/* Has a VLSI VL82C113A SCAMP Combination I/O which holds the KBC. */