From 4b95cf5b97a3d49805127ff9ddb4322d75202d25 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 17 Dec 2002 08:54:01 +0000 Subject: [PATCH] Support for loading gus and disney sound source. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@574 --- src/dosbox.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/dosbox.cpp b/src/dosbox.cpp index c1e82ad0..d4ab1454 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -64,10 +64,14 @@ void KEYBOARD_Init(Section*); //TODO This should setup INT 16 too but ok ;) void JOYSTICK_Init(Section*); void MOUSE_Init(Section*); void SBLASTER_Init(Section*); +void GUS_Init(Section*); void ADLIB_Init(Section*); void PCSPEAKER_Init(Section*); void TANDYSOUND_Init(Section*); void CMS_Init(Section*); +void DISNEY_Init(Section*); + + void PIC_Init(Section*); void TIMER_Init(Section*); @@ -192,7 +196,11 @@ void DOSBOX_Init(void) { secprop->Add_bool("adlib",true); secprop->AddInitFunction(&CMS_Init); secprop->Add_bool("cms",false); + + secprop=control->AddSection_prop("gus",&GUS_Init); + secprop=control->AddSection_prop("disney",&DISNEY_Init); + secprop=control->AddSection_prop("speaker",&PCSPEAKER_Init); secprop->Add_bool("enabled",true); secprop->Add_bool("sinewave",false);