From 4455b262a194d332ebc5847358ead9a5e036be83 Mon Sep 17 00:00:00 2001 From: qaate47 Date: Mon, 26 Aug 2024 21:17:00 +0200 Subject: [PATCH] gscd: fix directory creation when no parent path --- src/acts/tools/gsc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acts/tools/gsc.cpp b/src/acts/tools/gsc.cpp index 0e16274..0ef05ab 100644 --- a/src/acts/tools/gsc.cpp +++ b/src/acts/tools/gsc.cpp @@ -1105,7 +1105,7 @@ int GscInfoHandleData(byte* data, size_t size, const char* path, GscDecompilerGl } profiler.GetCurrent().name = asmfnamebuff; - std::filesystem::path file(asmfnamebuff); + std::filesystem::path file{ std::filesystem::absolute(asmfnamebuff) }; std::filesystem::create_directories(file.parent_path());