From f3b53778ca850ca0b01ff445000f4f07545b62fc Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 3 Mar 2013 20:29:15 +0000 Subject: Add GUS pseudo-emulation. Subversion-branch: /branches/v2-branch Subversion-revision: 2566 --- src/setup/sound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/setup/sound.c') 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); -- cgit v1.2.3