Android memstick folder moves: Do recursive moves if in the same device. Drastically faster.

This commit is contained in:
Henrik Rydgård
2024-01-22 15:04:21 +01:00
parent 9fdcef9a0f
commit c6c0d0bf42
7 changed files with 72 additions and 36 deletions
+1
View File
@@ -345,6 +345,7 @@ bool GameManager::InstallGame(const Path &url, const Path &fileName, bool delete
if (info.stripChars == 0) {
success = InstallMemstickZip(z, fileName, dest / "textures.zip", info, deleteAfter);
} else {
// TODO: Can probably remove this, as we now put .nomedia in /TEXTURES directly.
File::CreateEmptyFile(dest / ".nomedia");
success = InstallMemstickGame(z, fileName, dest, info, true, deleteAfter);
}