From 47942db0a3c5fd5668e0ac3aa3731d96ee5c2b58 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 20 Oct 2019 02:28:01 +0000 Subject: [PATCH] Fix min/max values for audiolib cvars git-svn-id: https://svn.eduke32.com/eduke32@8230 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/audiolib/include/al_midi.h --- source/audiolib/src/fx_man.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/audiolib/src/fx_man.cpp b/source/audiolib/src/fx_man.cpp index 121ac957b..5c9f51b4f 100644 --- a/source/audiolib/src/fx_man.cpp +++ b/source/audiolib/src/fx_man.cpp @@ -72,8 +72,8 @@ int FX_Init(int numvoices, int numchannels, int mixrate, void *initdata) static int init; static osdcvardata_t cvars_audiolib[] = { - { "mus_emidicard", "force a specific EMIDI instrument set", (void *)&ASS_EMIDICard, CVAR_INT | CVAR_FUNCPTR, 0, 10 }, - { "mus_adlibstereo", "enable/disable OPL3 stereo mode", (void *)&AL_Stereo, CVAR_BOOL | CVAR_FUNCPTR, 0, 10 }, + { "mus_emidicard", "force a specific EMIDI instrument set", (void *)&ASS_EMIDICard, CVAR_INT | CVAR_FUNCPTR, -1, 10 }, + { "mus_adlibstereo", "enable/disable OPL3 stereo mode", (void *)&AL_Stereo, CVAR_BOOL | CVAR_FUNCPTR, 0, 1 }, }; if (!init++)