summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
authorSimon Howard2013-03-03 20:29:15 +0000
committerSimon Howard2013-03-03 20:29:15 +0000
commitf3b53778ca850ca0b01ff445000f4f07545b62fc (patch)
treec5b1590ba3bedebf1197cbc8bae5beaedffb4765 /src/setup
parentb2a59b3eec1dcc040f58bdd5e88bfed55face2fe (diff)
downloadchocolate-doom-f3b53778ca850ca0b01ff445000f4f07545b62fc.tar.gz
chocolate-doom-f3b53778ca850ca0b01ff445000f4f07545b62fc.tar.bz2
chocolate-doom-f3b53778ca850ca0b01ff445000f4f07545b62fc.zip
Add GUS pseudo-emulation.
Subversion-branch: /branches/v2-branch Subversion-revision: 2566
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/sound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/setup/sound.c b/src/setup/sound.c
index 4a9b80b3..af7e5dc1 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -79,6 +79,8 @@ static int show_talk = 0;
static int use_libsamplerate = 0;
static char *timidity_cfg_path = "";
+static char *gus_patch_path = "";
+static unsigned int gus_ram_kb = 1024;
// DOS specific variables: these are unused but should be maintained
// so that the config file can be shared between chocolate
@@ -254,6 +256,8 @@ void BindSoundVariables(void)
M_BindVariable("snd_samplerate", &snd_samplerate);
M_BindVariable("use_libsamplerate", &use_libsamplerate);
M_BindVariable("timidity_cfg_path", &timidity_cfg_path);
+ M_BindVariable("gus_patch_path", &gus_patch_path);
+ M_BindVariable("gus_ram_kb", &gus_ram_kb);
M_BindVariable("snd_sbport", &snd_sbport);
M_BindVariable("snd_sbirq", &snd_sbirq);