diff options
author | khokh2001 | 2015-03-09 16:32:08 +0900 |
---|---|---|
committer | khokh2001 | 2015-03-09 16:32:08 +0900 |
commit | e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6 (patch) | |
tree | c0d25af6f9de6c8a032f6a84282b3573cabad2f2 /src/i_sound.c | |
parent | 70e39d13808d9a6de004bde9570a2db001cc95e4 (diff) | |
download | chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.gz chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.bz2 chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.zip |
Hexen and Heretic use older DMX. Since OPL Voice Allocating algorithm differ. This commit adds old DMX's voice allocating alogrithm for Hexen and Heretic.
Diffstat (limited to 'src/i_sound.c')
-rw-r--r-- | src/i_sound.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i_sound.c b/src/i_sound.c index e70b9bc7..eac21307 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -66,6 +66,7 @@ extern music_module_t music_opl_module; // For OPL module: +extern opl_driver_ver opl_drv_ver; extern int opl_io_port; // For native music module: @@ -472,3 +473,8 @@ void I_BindSoundVariables(void) #endif } +void I_SetOPLDriverVer(opl_driver_ver ver) +{ + opl_drv_ver = ver; +} + |