Skip to content

Commit

Permalink
Only display .md extension on DSi/3DS SD card
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jun 13, 2024
1 parent 4895c47 commit 9b3d040
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion romsel_aktheme/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ int akTheme(void) {
".sc", // Sega SC-3000
".sms", // Sega Master System
".gg", // Sega Game Gear
".gen", ".md", // Sega Mega Drive/Genesis
".gen", // Sega Genesis
".smc", ".sfc", // SNES
".ws", ".wsc", // WonderSwan
".ngp", ".ngc", // Neo Geo Pocket
Expand Down Expand Up @@ -1331,6 +1331,10 @@ int akTheme(void) {
}
}

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

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

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

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

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

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

0 comments on commit 9b3d040

Please sign in to comment.