summaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r--Alc/alcConfig.c9
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)