Skip to content

Commit

Permalink
Re-enable Genesis and SNES ROMs on flashcards
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jun 12, 2024
1 parent 62458dd commit 815639b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 30 deletions.
12 changes: 2 additions & 10 deletions romsel_aktheme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,8 @@ int akTheme(void) {
".sc", // Sega SC-3000
".sms", // Sega Master System
".gg", // Sega Game Gear
".gen", ".md", // Sega Mega Drive/Genesis
".smc", ".sfc", // SNES
".ws", ".wsc", // WonderSwan
".ngp", ".ngc", // Neo Geo Pocket
".pce", // PC Engine/TurboGrafx-16
Expand Down Expand Up @@ -1327,16 +1329,6 @@ int akTheme(void) {
}
}

if (!ms().secondaryDevice) {
extensionList.emplace_back(".gen"); // Sega Genesis
extensionList.emplace_back(".md"); // Sega Mega Drive
}

if (!ms().secondaryDevice || ms().newSnesEmuVer) {
extensionList.emplace_back(".smc"); // SNES
extensionList.emplace_back(".sfc"); // Super Famicom
}

if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
extensionList.emplace_back(".plg"); // DSTWO Plugin
}
Expand Down
12 changes: 2 additions & 10 deletions romsel_dsimenutheme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,8 @@ int dsiMenuTheme(void) {
".sc", // Sega SC-3000
".sms", // Sega Master System
".gg", // Sega Game Gear
".gen", ".md", // Sega Mega Drive/Genesis
".smc", ".sfc", // SNES
".ws", ".wsc", // WonderSwan
".ngp", ".ngc", // Neo Geo Pocket
".pce", // PC Engine/TurboGrafx-16
Expand Down Expand Up @@ -1266,16 +1268,6 @@ int dsiMenuTheme(void) {
}
}

if (!ms().secondaryDevice) {
extensionList.emplace_back(".gen"); // Sega Genesis
extensionList.emplace_back(".md"); // Sega Mega Drive
}

if (!ms().secondaryDevice || ms().newSnesEmuVer) {
extensionList.emplace_back(".smc"); // SNES
extensionList.emplace_back(".sfc"); // Super Famicom
}

if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
extensionList.emplace_back(".plg"); // DSTWO Plugin
}
Expand Down
12 changes: 2 additions & 10 deletions romsel_r4theme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,8 @@ int r4Theme(void) {
".sc", // Sega SC-3000
".sms", // Sega Master System
".gg", // Sega Game Gear
".gen", ".md", // Sega Mega Drive/Genesis
".smc", ".sfc", // SNES
".ws", ".wsc", // WonderSwan
".ngp", ".ngc", // Neo Geo Pocket
".pce", // PC Engine/TurboGrafx-16
Expand Down Expand Up @@ -1478,16 +1480,6 @@ int r4Theme(void) {
}
}

if (!ms().secondaryDevice) {
extensionList.emplace_back(".gen"); // Sega Genesis
extensionList.emplace_back(".md"); // Sega Mega Drive
}

if (!ms().secondaryDevice || ms().newSnesEmuVer) {
extensionList.emplace_back(".smc"); // SNES
extensionList.emplace_back(".sfc"); // Super Famicom
}

if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
extensionList.emplace_back(".plg"); // DSTWO Plugin
}
Expand Down

0 comments on commit 815639b

Please sign in to comment.