Skip to content

Commit

Permalink
home menu extdata tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Naim2000 committed May 28, 2024
1 parent 7846f49 commit feb27c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion source/fsop.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bool CheckFile(const TCHAR* filepath, size_t filesize, bool verifySHA256) {
}
}

// printf(pGood " %s: File OK!\n", filepath);
printf(pGood " %s: File OK!\n", filepath);
return true;
}

Expand Down
1 change: 1 addition & 0 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ int main(void) {
" New 3DS has 4 shoulder buttons (L, R, ZL, ZR)\n\n"

" Console Version: Displayed on the main page of System Settings.\n"
" Eg. \"Ver. 11.17.0-50J\"\n"
);
const char* const options[4] = {
"Old 3DS/Old 3DS XL/Old 2DS, 11.8 up to 11.17 (latest!)",
Expand Down
8 changes: 4 additions & 4 deletions source/mset9.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ int MSET9Start() {
while ((fres = f_readdir(&dp, &fl)) == FR_OK && fl.fname[0]) {
if (is3DSID(fl.fname)) {
printf(pInfo "Found ID0: %s\n", fl.fname);
strncpy(mset9.ID[0], fl.fname, 32);
memcpy(mset9.ID[0], fl.fname, 32);
foundID0++;
}
}
Expand Down Expand Up @@ -136,7 +136,7 @@ int MSET9Start() {
while ((fres = f_readdir(&dp, &fl)) == FR_OK && fl.fname[0]) {
if (is3DSID(fl.fname) || isBackupID1(fl.fname)) {
printf(pInfo "Found ID1: %s\n", fl.fname);
strncpy(mset9.ID[1], fl.fname, 32);
memcpy(mset9.ID[1], fl.fname, 32);
mset9.hasBackupID1 = isBackupID1(fl.fname);
foundID1++;
}
Expand Down Expand Up @@ -280,8 +280,8 @@ bool MSET9SanityCheck(void) {
if (!mset9.region) {
puts(pBad "Error #04: No HOME menu extdata found!\n\n"

pNote "How to reset HOME menu management info:\n"
pNote "Power on your console while holding L+R+Down+B.\n"
pNote "TIP: Power on your console while holding L+R+Down+B.\n"
pNote "You should be prompted to reset the HOME menu management info."
);

return false;
Expand Down
8 changes: 4 additions & 4 deletions source/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ bool SDMount(void) {
return false;
}

printf(pInfo "Mounting sdmc:/ ...\r");
printf(pInfo "Mounting SD card ...\r");
FRESULT fres = f_mount(&fs, "sdmc:/", true);
if (fres == FR_OK) {
unsigned long freeSpace = (fs.free_clst * fs.csize);
unsigned long totalSpace = ((fs.n_fatent - 2) * fs.csize);

puts(pGood "Mounting sdmc:/ OK!");
puts(pGood "Mounting SD card OK!");
sdMounted = true;
// WiiSD_GetCID(&sdcard_CID);

Expand All @@ -69,7 +69,7 @@ bool SDMount(void) {

}
else {
printf(pBad "Mounting sdmc:/ failed! (%i)\n", fres);
printf(pBad "Mounting SD card failed! (%i)\n", fres);
}

return sdMounted;
Expand Down Expand Up @@ -108,7 +108,7 @@ bool SDRemount(void) {
clearln(0);
if (inserted) return false;

puts(pGood "SD card ejected.");
puts(pGood "Ejected SD card.");
sleep(10);

return SDMount();
Expand Down

0 comments on commit feb27c4

Please sign in to comment.