Common: Use Path for GetExeDirectory().

This commit is contained in:
Unknown W. Brackets committed 2021-05-15 11:12:54 -07:00
1 parent 7b175627b3
commit f2b2f26e8e
8 files changed
+18 -26

No files matched your search

+1 -1
View File
@@ -527,7 +527,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
bool showLog = true;
#endif
const Path exePath = Path(File::GetExeDirectory());
const Path &exePath = File::GetExeDirectory();
VFSRegister("", new DirectoryAssetReader(exePath / "assets"));
VFSRegister("", new DirectoryAssetReader(exePath));