diff --git a/include/system/iplNandSDWorker.h b/include/system/iplNandSDWorker.h index cd4d1621..653d3c40 100644 --- a/include/system/iplNandSDWorker.h +++ b/include/system/iplNandSDWorker.h @@ -152,7 +152,7 @@ namespace ipl { BOOL is_working(); #ifdef IPL_SD_CHANNEL_SELECT_CPP - void requestCancel() { unk_0x04 = true; } + void requestCancel() { mbCancel = true; } #endif WIISaveBannerFile* get_cached_nand_save_banner(ESTitleId titleId); @@ -531,7 +531,7 @@ namespace ipl { static void wad_backup_progress_callback(u32 completed, u32 total, BOOL done); Work* myWork; // 0x00 - bool unk_0x04; // 0x04 + bool mbCancel; // 0x04 static const char* c_banner_file_name; static const char* c_nocopy_folder_name; diff --git a/src/system/iplNandSDWorker.cpp b/src/system/iplNandSDWorker.cpp index d39c6e69..6ca0ff98 100644 --- a/src/system/iplNandSDWorker.cpp +++ b/src/system/iplNandSDWorker.cpp @@ -150,7 +150,7 @@ namespace ipl { myWork->sdWriteProtected = FALSE; myWork->prevAsyncResult = RESULT_WORKING; - unk_0x04 = false; + mbCancel = false; OSResumeThread(&myWork->thread); } @@ -1235,7 +1235,7 @@ namespace ipl { int result; OSReport("NandSDWorker: cleaning partial nand app...\n"); for (int i = 0; i < titleIdCount; i++) { - if (unk_0x04 != false) { + if (mbCancel != false) { return RESULT_UNK_18; } @@ -4877,7 +4877,7 @@ namespace ipl { strncat(fmtStr, fileName, NAND_MAX_PATH); while (faErr == FA_ERR_SUCCESS) { - if (unk_0x04 != false) { + if (mbCancel != false) { return RESULT_UNK_18; }