diff options
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/alcConfig.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c index d5f4fb5e..6b959709 100644 --- a/Alc/alcConfig.c +++ b/Alc/alcConfig.c @@ -250,6 +250,15 @@ void ReadALConfig(void) } } #endif + if(getenv("ALSOFT_CONF")) + { + f = fopen(getenv("ALSOFT_CONF"), "r"); + if(f) + { + LoadConfigFromFile(f); + fclose(f); + } + } } void FreeALConfig(void) |