summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorCaptain Throwback <captainthrowback@hotmail.com>2014-09-23 22:08:34 +0200
committerDees Troy <dees_troy@teamw.in>2014-10-08 18:22:08 +0200
commitff5935f7ef0ca40b5e7c5263a85a05a876fe88a2 (patch)
tree9b1ae21ece5c2dd47115bc07d5fa1b113ec60288 /partition.cpp
parentapplypatch: add support for BML partitions (diff)
downloadandroid_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar.gz
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar.bz2
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar.lz
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar.xz
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.tar.zst
android_bootable_recovery-ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2.zip
Diffstat (limited to '')
-rw-r--r--partition.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 00f84a128..31a3f8fae 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1327,6 +1327,8 @@ bool TWPartition::Check_MD5(string restore_folder) {
int index = 0;
twrpDigest md5sum;
+ sync();
+
memset(split_filename, 0, sizeof(split_filename));
Full_Filename = restore_folder + "/" + Backup_FileName;
if (!TWFunc::Path_Exists(Full_Filename)) {