@@ -155,12 +155,10 @@ int restoreSaveData(AccountUid uid, const u64 titleID, const std::string& source
155155 {
156156 if (isDir)
157157 {
158- drawText (" remove dir: " + path);
159158 rmdir (path.c_str ());
160159 }
161160 else
162161 {
163- drawText (" remove file: " + path);
164162 remove (path.c_str ());
165163 }
166164 });
@@ -177,7 +175,6 @@ int restoreSaveData(AccountUid uid, const u64 titleID, const std::string& source
177175 }
178176 else
179177 {
180- drawText (" remove file: " + path);
181178 remove (path.c_str ());
182179 }
183180 });
@@ -187,7 +184,6 @@ int restoreSaveData(AccountUid uid, const u64 titleID, const std::string& source
187184 bool success = true ;
188185 zipReader.walk ([&](const std::string& path, ZipReader::EXTRACT_ONE_FUNC extractOneFunc)
189186 {
190- drawText (path);
191187 if (!success)
192188 {
193189 return false ;
@@ -196,6 +192,9 @@ int restoreSaveData(AccountUid uid, const u64 titleID, const std::string& source
196192 if (startWith (path, " saves/" ))
197193 {
198194 const std::string savePath = " save:/" + path.substr (strlen (" saves/" ));
195+
196+ drawText (" * " + path + " -> " + savePath);
197+
199198 success = extractOneFunc (savePath);
200199
201200 if (!success)
@@ -212,6 +211,7 @@ int restoreSaveData(AccountUid uid, const u64 titleID, const std::string& source
212211 else if (startWith (path, " bcat/" ))
213212 {
214213 const std::string bcatPath = " bcat:/" + path.substr (strlen (" bcat/" ));
214+ drawText (" * " + path + " -> " + bcatPath);
215215 success = extractOneFunc (bcatPath);
216216 if (success)
217217 {
0 commit comments