Get the new setup flow going, with a confirmation dialog etc.

Moving the folder while already installed still crashes.
This commit is contained in:
Henrik Rydgård committed 2021-08-04 23:22:43 +02:00
1 parent 87bcdb7b88
commit 3be1ff6ce4
12 files changed
+299 -84

No files matched your search

+2 -2
View File
@@ -754,9 +754,9 @@ u64 DiskCachingFileLoaderCache::FreeDiskSpace() {
dir = GetSysDirectory(DIRECTORY_CACHE);
}
uint64_t result = 0;
int64_t result = 0;
if (free_disk_space(dir, result)) {
return result;
return (u64)result;
}
// We can't know for sure how much is free, so we have to assume none.