diff --git a/loader/src/platform/windows/util.cpp b/loader/src/platform/windows/util.cpp index bd2accb0..75edbd05 100644 --- a/loader/src/platform/windows/util.cpp +++ b/loader/src/platform/windows/util.cpp @@ -119,7 +119,7 @@ ghc::filesystem::path utils::file::current_path() { std::array szFileName; GetModuleFileName(NULL, szFileName.data(), MAX_PATH); - ghc::filesystem::path path(szFileName); + ghc::filesystem::path path(szFileName.data()); auto currentPath = path.parent_path(); return currentPath; }