mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-17 06:05:35 -04:00
Fix Windows Unicode paths in disk mods
oops
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user