- remove mod_dumb CVAR. This now effectively disabled module playback because the OpenAL backend cannot substitute for it, unlike FMod.

This commit is contained in:
Christoph Oelckers 2017-04-22 10:58:30 +02:00
parent ecbfb255f7
commit dc3df4e897
2 changed files with 0 additions and 8 deletions

View file

@ -135,7 +135,6 @@ typedef struct MODMIDICFG
// PUBLIC DATA DEFINITIONS ------------------------------------------------- // PUBLIC DATA DEFINITIONS -------------------------------------------------
CVAR(Bool, mod_dumb, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_samplerate, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG); CVAR(Int, mod_samplerate, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_volramp, 2, CVAR_ARCHIVE|CVAR_GLOBALCONFIG); CVAR(Int, mod_volramp, 2, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_interp, DUMB_LQ_CUBIC, CVAR_ARCHIVE|CVAR_GLOBALCONFIG); CVAR(Int, mod_interp, DUMB_LQ_CUBIC, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
@ -780,11 +779,6 @@ MusInfo *MOD_OpenSong(FileReader &reader)
long fpos = 0; long fpos = 0;
input_mod *state = NULL; input_mod *state = NULL;
if (!mod_dumb)
{
return NULL;
}
bool is_it = false; bool is_it = false;
bool is_dos = true; bool is_dos = true;

View file

@ -1723,8 +1723,6 @@ OptionValue ModVolumeRamps
OptionMenu ModReplayerOptions OptionMenu ModReplayerOptions
{ {
Title "$MODMNU_TITLE" Title "$MODMNU_TITLE"
Option "$MODMNU_REPLAYERENGINE", "mod_dumb", "ModReplayers"
StaticText " "
Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1 Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1
Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates", "mod_dumb" Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates", "mod_dumb"
Option "$MODMNU_QUALITY", "mod_interp", "ModQuality", "mod_dumb" Option "$MODMNU_QUALITY", "mod_interp", "ModQuality", "mod_dumb"