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 --- core/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers.cpp') diff --git a/core/helpers.cpp b/core/helpers.cpp index 0d36048c..b353da2e 100644 --- a/core/helpers.cpp +++ b/core/helpers.cpp @@ -156,7 +156,7 @@ std::vector SearchDataFiles(const char *ext, const char *subdir) std::replace(path.begin(), path.end(), '/', '\\'); DirectorySearch(path.c_str(), ext, &results); -#if !defined(ALSOFT_UWP) +#if !defined(ALSOFT_UWP) && !defined(_GAMING_XBOX) /* Search the local and global data dirs. */ for(auto id : std::array{CSIDL_APPDATA, CSIDL_COMMON_APPDATA}) { -- cgit v1.2.3