Skip to content

Commit

Permalink
SD Card: Fix misdetection of *Harvest Moon DS Cute* as homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 26, 2024
1 parent 0679a82 commit a6ff5e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SD_Card/sd/arm9/source/ndsheaderbanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ int checkIfHomebrew(FILE* ndsFile, const bool isRunFromSd) {
if (arm9Sig[0][2] == 0xE1DC00B6 // SDK 3-5
&& arm9Sig[0][3] == 0xE3500000) {
return 0;
} else
if (arm9Sig[0][2] == 0xEAFFFFFF // SDK 4 (HM DS Cute)
&& arm9Sig[0][3] == 0xE1DC00B6) {
return 0;
}
} else if (strncmp(ndsHeader.gameCode, "HNA", 3) == 0) {
return 0;
Expand Down

0 comments on commit a6ff5e3

Please sign in to comment.