Fix Windows Unicode paths in disk mods

oops
This commit is contained in:
PJB3005
2026-05-28 00:17:25 +02:00
parent 0692fa5423
commit 358d218e8f
+1 -1
View File
@@ -55,7 +55,7 @@ size_t ModBundleDisk::getFileSize(const std::string& fileName) {
std::filesystem::path ModBundleDisk::toRealPath(const std::string& fileName) const {
const fs::path filePath = reinterpret_cast<const char8_t*>(fileName.c_str());
return root_path / fileName;
return root_path / filePath;
}
} // namespace dusk::modding