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
2021-07-25 00:16:30 +02:00
parent 87bcdb7b88
commit 3be1ff6ce4
12 changed files with 299 additions and 84 deletions

View File

@@ -925,9 +925,9 @@ std::vector<PSPFileInfo> DirectoryFileSystem::GetDirListing(std::string path) {
}
u64 DirectoryFileSystem::FreeSpace(const std::string &path) {
uint64_t result = 0;
int64_t result = 0;
if (free_disk_space(GetLocalPath(path), result)) {
return ReplayApplyDisk64(ReplayAction::FREESPACE, result, CoreTiming::GetGlobalTimeUs());
return ReplayApplyDisk64(ReplayAction::FREESPACE, (uint64_t)result, CoreTiming::GetGlobalTimeUs());
}
#if HOST_IS_CASE_SENSITIVE