Skip to content

Commit

Permalink
Add *Tony Hawk's Downhill Jam* to incompatibleGameListFC
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jan 30, 2025
1 parent b1dc90f commit e66e530
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
6 changes: 2 additions & 4 deletions romsel_aktheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,8 +1008,6 @@ bool donorRomMsg(void) {
}

bool checkForCompatibleGame() {
return true;

bool proceedToLaunch = true;

/* if (!dsiFeatures() && ms().secondaryDevice) {
Expand All @@ -1023,7 +1021,7 @@ bool checkForCompatibleGame() {
}
} */

/* if (proceedToLaunch && ms().secondaryDevice) {
if (ms().secondaryDevice) {
// TODO: If the list gets large enough, switch to bsearch().
for (unsigned int i = 0; i < sizeof(incompatibleGameListFC)/sizeof(incompatibleGameListFC[0]); i++) {
if (memcmp(gameTid[cursorPosOnScreen], incompatibleGameListFC[i], 3) == 0) {
Expand All @@ -1032,7 +1030,7 @@ bool checkForCompatibleGame() {
break;
}
}
} */
}

/* if (proceedToLaunch) {
// TODO: If the list gets large enough, switch to bsearch().
Expand Down
6 changes: 2 additions & 4 deletions romsel_dsimenutheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1860,8 +1860,6 @@ bool donorRomMsg(const char *filename) {
}

bool checkForCompatibleGame(const char *filename) {
return true;

bool proceedToLaunch = true;

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

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

/* if (proceedToLaunch) {
// TODO: If the list gets large enough, switch to bsearch().
Expand Down
6 changes: 2 additions & 4 deletions romsel_r4theme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,6 @@ void showLocation(void) {
}

bool checkForCompatibleGame(const char *filename) {
return true;

bool proceedToLaunch = true;

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

/* if (proceedToLaunch && ms().secondaryDevice) {
if (ms().secondaryDevice) {
// TODO: If the list gets large enough, switch to bsearch().
for (unsigned int i = 0; i < sizeof(incompatibleGameListFC)/sizeof(incompatibleGameListFC[0]); i++) {
if (memcmp(gameTid, incompatibleGameListFC[i], 3) == 0) {
Expand All @@ -630,7 +628,7 @@ bool checkForCompatibleGame(const char *filename) {
break;
}
}
} */
}

/* if (proceedToLaunch) {
// TODO: If the list gets large enough, switch to bsearch().
Expand Down
5 changes: 3 additions & 2 deletions universal/include/incompatibleGameMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
// static const char incompatibleGameListB4DS[][4] = {
// };

// static const char incompatibleGameListFC[][4] = {
// };
static const char incompatibleGameListFC[][4] = {
"AWK", // Tony Hawk's Downhill Jam
};

// static const char incompatibleGameList[][4] = {
// };
Expand Down

0 comments on commit e66e530

Please sign in to comment.