aboutsummaryrefslogtreecommitdiffstats
path: root/core/helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers.cpp')
-rw-r--r--core/helpers.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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})
{