mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Sensation: Make Sensation onboard audio an internal device and give the machine the sound and gameport flags
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user