Fix assorted path issues
This commit is contained in:
parent
a341eb6c32
commit
bea9f67c02
8 changed files with 36 additions and 47 deletions
|
@ -754,9 +754,8 @@ u64 DiskCachingFileLoaderCache::FreeDiskSpace() {
|
|||
dir = GetSysDirectory(DIRECTORY_CACHE);
|
||||
}
|
||||
|
||||
// TODO(scoped):
|
||||
uint64_t result = 0;
|
||||
if (free_disk_space(dir.ToString(), result)) {
|
||||
if (free_disk_space(dir, result)) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue