mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fix #194
This commit is contained in:
parent
a6a15eb70d
commit
1838c608e1
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user