diff --git a/Source/Shared/WinRT/local_config_winrt.cpp b/Source/Shared/WinRT/local_config_winrt.cpp index a73948ce..4a820da6 100644 --- a/Source/Shared/WinRT/local_config_winrt.cpp +++ b/Source/Shared/WinRT/local_config_winrt.cpp @@ -30,9 +30,14 @@ xbox_live_result local_config::read() return xbox_live_result(); } +#if XSAPI_SIDECAR + string_t configPath = _T("xboxservices.config"); +#else Windows::ApplicationModel::Package^ package = Windows::ApplicationModel::Package::Current; Windows::Storage::StorageFolder^ installedLocation = package->InstalledLocation; string_t configPath = string_t(installedLocation->Path->Data()) + _T("\\xboxservices.config"); +#endif + string_t fileData = utils::read_file_to_string(configPath); if( !fileData.empty() )