Skip to content

Commit

Permalink
gscd: fix directory creation when no parent path
Browse files Browse the repository at this point in the history
  • Loading branch information
ate47 committed Aug 26, 2024
1 parent bd61d24 commit 4455b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acts/tools/gsc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit 4455b26

Please sign in to comment.