This commit is contained in:
d0k3 2017-09-08 13:30:16 +02:00
parent a6a15eb70d
commit 1838c608e1
2 changed files with 3 additions and 3 deletions

View File

@ -253,7 +253,7 @@ bool FileInjectFile(const char* dest, const char* orig, u64 off_dest, u64 off_or
ret = false;
if (ret && !ShowProgress(pos + bytes_read, size, orig)) {
if (flags && (*flags & NO_CANCEL)) {
ShowPrompt(false, "Cancel is now allowed here");
ShowPrompt(false, "Cancel is not allowed here");
} else ret = !ShowPrompt(true, "B button detected. Cancel?");
ShowProgress(0, 0, orig);
ShowProgress(pos + bytes_read, size, orig);
@ -457,7 +457,7 @@ bool PathMoveCopyRec(char* dest, char* orig, u32* flags, bool move) {
ret = false;
if (ret && !ShowProgress(pos + bytes_read, fsize, orig)) {
if (flags && (*flags & NO_CANCEL)) {
ShowPrompt(false, "%s\nCancel is now allowed here", deststr);
ShowPrompt(false, "%s\nCancel is not allowed here", deststr);
} else ret = !ShowPrompt(true, "%s\nB button detected. Cancel?", deststr);
ShowProgress(0, 0, orig);
ShowProgress(pos + bytes_read, fsize, orig);

View File

@ -1185,7 +1185,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, DirStruct* cur
}
return 0;
} else if (user_select == extrcode) { // -> Extract code
ShowString("%s\nExtracting .code,\nplease wait...", pathstr);
ShowString("%s\nExtracting .code, please wait...", pathstr);
if (ExtractCodeFromCxiFile(curr_entry->path) == 0) {
ShowPrompt(false, "%s\n.code extracted to " OUTPUT_PATH, pathstr);
} else ShowPrompt(false, "%s\n.code extract failed", pathstr);