diff options
author | Chris Robinson <[email protected]> | 2022-02-07 17:01:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-08 08:21:06 -0800 |
commit | be80e49f1bb7e09dd67ea6886f19f091bde8a2d7 (patch) | |
tree | a77d424a068896412f059ef34dbbfb3b90d9adaa /alc/alc.cpp | |
parent | d42077680890fee9e8f150e99bc259435bbe5d44 (diff) |
DisabledEffects won't change so EAX can just check it once
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 3af6f8ec..82e31667 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1277,6 +1277,11 @@ void alc_initconfig(void) { eax_g_is_enabled = true; } + if(eax_g_is_enabled && DisabledEffects[EAXREVERB_EFFECT]) + { + eax_g_is_enabled = false; + TRACE("%s\n", "EAX disabled because EAXReverb is disabled."); + } } #endif // ALSOFT_EAX } |