Skip to content

Commit e66e530

Browse files
committed
Add *Tony Hawk's Downhill Jam* to incompatibleGameListFC
1 parent b1dc90f commit e66e530

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

romsel_aktheme/arm9/source/fileBrowse.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,8 +1008,6 @@ bool donorRomMsg(void) {
10081008
}
10091009

10101010
bool checkForCompatibleGame() {
1011-
return true;
1012-
10131011
bool proceedToLaunch = true;
10141012

10151013
/* if (!dsiFeatures() && ms().secondaryDevice) {
@@ -1023,7 +1021,7 @@ bool checkForCompatibleGame() {
10231021
}
10241022
} */
10251023

1026-
/* if (proceedToLaunch && ms().secondaryDevice) {
1024+
if (ms().secondaryDevice) {
10271025
// TODO: If the list gets large enough, switch to bsearch().
10281026
for (unsigned int i = 0; i < sizeof(incompatibleGameListFC)/sizeof(incompatibleGameListFC[0]); i++) {
10291027
if (memcmp(gameTid[cursorPosOnScreen], incompatibleGameListFC[i], 3) == 0) {
@@ -1032,7 +1030,7 @@ bool checkForCompatibleGame() {
10321030
break;
10331031
}
10341032
}
1035-
} */
1033+
}
10361034

10371035
/* if (proceedToLaunch) {
10381036
// TODO: If the list gets large enough, switch to bsearch().

romsel_dsimenutheme/arm9/source/fileBrowse.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,8 +1860,6 @@ bool donorRomMsg(const char *filename) {
18601860
}
18611861

18621862
bool checkForCompatibleGame(const char *filename) {
1863-
return true;
1864-
18651863
bool proceedToLaunch = true;
18661864

18671865
/* if (!dsiFeatures() && ms().secondaryDevice) {
@@ -1875,7 +1873,7 @@ bool checkForCompatibleGame(const char *filename) {
18751873
}
18761874
} */
18771875

1878-
/* if (proceedToLaunch && ms().secondaryDevice) {
1876+
if (ms().secondaryDevice) {
18791877
// TODO: If the list gets large enough, switch to bsearch().
18801878
for (unsigned int i = 0; i < sizeof(incompatibleGameListFC)/sizeof(incompatibleGameListFC[0]); i++) {
18811879
if (memcmp(gameTid[CURPOS], incompatibleGameListFC[i], 3) == 0) {
@@ -1884,7 +1882,7 @@ bool checkForCompatibleGame(const char *filename) {
18841882
break;
18851883
}
18861884
}
1887-
} */
1885+
}
18881886

18891887
/* if (proceedToLaunch) {
18901888
// TODO: If the list gets large enough, switch to bsearch().

romsel_r4theme/arm9/source/fileBrowse.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,6 @@ void showLocation(void) {
606606
}
607607

608608
bool checkForCompatibleGame(const char *filename) {
609-
return true;
610-
611609
bool proceedToLaunch = true;
612610

613611
/* if (!dsiFeatures() && ms().secondaryDevice) {
@@ -621,7 +619,7 @@ bool checkForCompatibleGame(const char *filename) {
621619
}
622620
} */
623621

624-
/* if (proceedToLaunch && ms().secondaryDevice) {
622+
if (ms().secondaryDevice) {
625623
// TODO: If the list gets large enough, switch to bsearch().
626624
for (unsigned int i = 0; i < sizeof(incompatibleGameListFC)/sizeof(incompatibleGameListFC[0]); i++) {
627625
if (memcmp(gameTid, incompatibleGameListFC[i], 3) == 0) {
@@ -630,7 +628,7 @@ bool checkForCompatibleGame(const char *filename) {
630628
break;
631629
}
632630
}
633-
} */
631+
}
634632

635633
/* if (proceedToLaunch) {
636634
// TODO: If the list gets large enough, switch to bsearch().

universal/include/incompatibleGameMap.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// static const char incompatibleGameListB4DS[][4] = {
55
// };
66

7-
// static const char incompatibleGameListFC[][4] = {
8-
// };
7+
static const char incompatibleGameListFC[][4] = {
8+
"AWK", // Tony Hawk's Downhill Jam
9+
};
910

1011
// static const char incompatibleGameList[][4] = {
1112
// };

0 commit comments

Comments
 (0)