VFS: Use Path for DirectoryAssetReader.

This commit is contained in:
Unknown W. Brackets
2021-05-15 09:54:28 -07:00
parent 82cd904e99
commit 7b175627b3
8 changed files with 44 additions and 74 deletions
+3 -3
View File
@@ -76,9 +76,9 @@ PPSSPP_UWPMain::PPSSPP_UWPMain(App ^app, const std::shared_ptr<DX::DeviceResourc
ctx_.reset(new UWPGraphicsContext(deviceResources));
const std::string &exePath = File::GetExeDirectory();
VFSRegister("", new DirectoryAssetReader((exePath + "/Content/").c_str()));
VFSRegister("", new DirectoryAssetReader(exePath.c_str()));
const Path exePath = Path(File::GetExeDirectory());
VFSRegister("", new DirectoryAssetReader(exePath / "Content"));
VFSRegister("", new DirectoryAssetReader(exePath));
wchar_t lcCountry[256];