From 34d07fde84ad64342ae6624334957143319615ab Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Wed, 26 Jul 2023 21:57:53 +0200 Subject: disable unavailable functionality on xbox (#887) * disable unavailable functionality on xbox * use not std version of getenv on xbox --- alc/alconfig.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alc') diff --git a/alc/alconfig.cpp b/alc/alconfig.cpp index 3c9a9777..03139abe 100644 --- a/alc/alconfig.cpp +++ b/alc/alconfig.cpp @@ -329,6 +329,7 @@ const char *GetConfigValue(const char *devName, const char *blockName, const cha #ifdef _WIN32 void ReadALConfig() { +#if !defined(_GAMING_XBOX) { #if !defined(ALSOFT_UWP) WCHAR buffer[MAX_PATH]; @@ -345,6 +346,7 @@ void ReadALConfig() if(f.is_open()) LoadConfigFromFile(f); } +#endif std::string ppath{GetProcBinary().path}; -- cgit v1.2.3