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

This commit is contained in:
Henrik Rydgård committed 2024-01-22 16:26:29 +01:00
1 parent 9fdcef9a0f
commit c6c0d0bf42
7 files changed
+72 -36

No files matched your search

+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);
}