Skip to content

Commit

Permalink
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 8b5394c commit 8fb792e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions quickmenu/arm9/source/iconTitle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@ void getGameInfo(int num, bool isDir, const char* name, bool fromArgv)
&& arm9StartSig[3] == 0xE3500000) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
} else
if (arm9StartSig[2] == 0xEAFFFFFF // SDK 4 (HM DS Cute)
&& arm9StartSig[3] == 0xE1DC00B6) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
}
} else if (strncmp(gameTid[num], "HNA", 3) == 0) {
// Modcrypted
Expand Down
5 changes: 5 additions & 0 deletions romsel_aktheme/arm9/source/iconTitle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,11 @@ void getGameInfo(int num, bool isDir, const char* name, bool fromArgv)
&& arm9StartSig[3] == 0xE3500000) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
} else
if (arm9StartSig[2] == 0xEAFFFFFF // SDK 4 (HM DS Cute)
&& arm9StartSig[3] == 0xE1DC00B6) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
}
} else if (strncmp(gameTid[num], "HNA", 3) == 0) {
// Modcrypted
Expand Down
5 changes: 5 additions & 0 deletions romsel_dsimenutheme/arm9/source/iconTitle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,11 @@ void getGameInfo(bool isDir, const char *name, int num, bool fromArgv) {
&& arm9StartSig[3] == 0xE3500000) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
} else
if (arm9StartSig[2] == 0xEAFFFFFF // SDK 4 (HM DS Cute)
&& arm9StartSig[3] == 0xE1DC00B6) {
isHomebrew[num] = false;
isModernHomebrew[num] = false;
}
} else if (strncmp(gameTid[num], "HNA", 3) == 0) {
// Modcrypted
Expand Down
5 changes: 5 additions & 0 deletions romsel_r4theme/arm9/source/iconTitle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,11 @@ void getGameInfo(bool isDir, const char* name, bool fromArgv)
&& arm9StartSig[3] == 0xE3500000) {
isHomebrew = false;
isModernHomebrew = false;
} else
if (arm9StartSig[2] == 0xEAFFFFFF // SDK 4 (HM DS Cute)
&& arm9StartSig[3] == 0xE1DC00B6) {
isHomebrew = false;
isModernHomebrew = false;
}
} else if (strncmp(gameTid, "HNA", 3) == 0) {
// Modcrypted
Expand Down

0 comments on commit 8fb792e

Please sign in to comment.