Fix batch install of game images

This commit is contained in:
d0k3 2020-07-24 10:40:20 +02:00
parent e916476563
commit 6116545fef

View File

@ -1574,7 +1574,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, PaneData** pan
continue; continue;
} }
DrawDirContents(current_dir, (*cursor = i), scroll); DrawDirContents(current_dir, (*cursor = i), scroll);
if (InstallGameFile(path, to_emunand, false)) n_success++; if (InstallGameFile(path, to_emunand, false) == 0) n_success++;
else { // on failure: show error, continue else { // on failure: show error, continue
char lpathstr[32+1]; char lpathstr[32+1];
TruncateString(lpathstr, path, 32, 8); TruncateString(lpathstr, path, 32, 8);