diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index 5e846705b..addb88acd 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -1306,7 +1306,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co // TODO string formatter, clean this mess.. if (!(Flags & FILESYSTEM_FIND_RELATIVE_PATHS)) { - outData.FileName = std::string(full_path); + outData.FileName = std::string(full_path.GetCharArray()); } else {