Use Path for fullName in dirlisting. Bugfixes.
Buildfixes UWP: Buildfix. headless: Buildfix. Common: Buildfix. iOS: Buildfixes. libretro: Buildfix. Qt: Buildfix.
This commit is contained in:
parent
ae06499a0c
commit
a40b1dec5f
26 changed files with 108 additions and 127 deletions
|
@ -827,7 +827,7 @@ void DiskCachingFileLoaderCache::GarbageCollectCacheFiles(u64 goalBytes) {
|
|||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
const std::wstring w32path = ConvertUTF8ToWString(file.fullName);
|
||||
const std::wstring w32path = file.fullName.ToWString();
|
||||
bool success = DeleteFileW(w32path.c_str()) != 0;
|
||||
#else
|
||||
bool success = unlink(file.fullName.c_str()) == 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue