summaryrefslogtreecommitdiff
path: root/src/i_sound.c
diff options
context:
space:
mode:
authorSimon Howard2010-08-31 19:26:32 +0000
committerSimon Howard2010-08-31 19:26:32 +0000
commit22fc405736dc4796958de221c07d52432f1b271b (patch)
treec05962aa5e839566ea40dd9b1f4ba3581954af8a /src/i_sound.c
parentf391d85c96afa91a2302c58191ce8d401fdba2e2 (diff)
parent64918568eee62c73cbb87aa1bd68e191f19a4af3 (diff)
downloadchocolate-doom-22fc405736dc4796958de221c07d52432f1b271b.tar.gz
chocolate-doom-22fc405736dc4796958de221c07d52432f1b271b.tar.bz2
chocolate-doom-22fc405736dc4796958de221c07d52432f1b271b.zip
Merge from trunk.
Subversion-branch: /branches/raven-branch Subversion-revision: 1987
Diffstat (limited to 'src/i_sound.c')
-rw-r--r--src/i_sound.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i_sound.c b/src/i_sound.c
index cf9e17a3..0c771dc2 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -56,6 +56,10 @@ extern sound_module_t sound_pcsound_module;
extern music_module_t music_sdl_module;
extern music_module_t music_opl_module;
+// For OPL module:
+
+extern int opl_io_port;
+
// DOS-specific options: These are unused but should be maintained
// so that the config file can be shared between chocolate
// doom and doom.exe
@@ -408,6 +412,7 @@ void I_BindSoundVariables(void)
M_BindVariable("snd_sbdma", &snd_sbdma);
M_BindVariable("snd_mport", &snd_mport);
M_BindVariable("snd_samplerate", &snd_samplerate);
+ M_BindVariable("opl_io_port", &opl_io_port);
#ifdef FEATURE_SOUND
M_BindVariable("use_libsamplerate", &use_libsamplerate);
#endif