Skip to content

Commit 9b3d040

Browse files
committed
Only display .md extension on DSi/3DS SD card
1 parent 4895c47 commit 9b3d040

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

romsel_aktheme/arm9/source/main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ int akTheme(void) {
12971297
".sc", // Sega SC-3000
12981298
".sms", // Sega Master System
12991299
".gg", // Sega Game Gear
1300-
".gen", ".md", // Sega Mega Drive/Genesis
1300+
".gen", // Sega Genesis
13011301
".smc", ".sfc", // SNES
13021302
".ws", ".wsc", // WonderSwan
13031303
".ngp", ".ngc", // Neo Geo Pocket
@@ -1331,6 +1331,10 @@ int akTheme(void) {
13311331
}
13321332
}
13331333

1334+
if (!ms().secondaryDevice) {
1335+
extensionList.emplace_back(".md"); // Sega Mega Drive
1336+
}
1337+
13341338
if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
13351339
extensionList.emplace_back(".plg"); // DSTWO Plugin
13361340
}

romsel_dsimenutheme/arm9/source/main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ int dsiMenuTheme(void) {
12361236
".sc", // Sega SC-3000
12371237
".sms", // Sega Master System
12381238
".gg", // Sega Game Gear
1239-
".gen", ".md", // Sega Mega Drive/Genesis
1239+
".gen", // Genesis
12401240
".smc", ".sfc", // SNES
12411241
".ws", ".wsc", // WonderSwan
12421242
".ngp", ".ngc", // Neo Geo Pocket
@@ -1270,6 +1270,10 @@ int dsiMenuTheme(void) {
12701270
}
12711271
}
12721272

1273+
if (!ms().secondaryDevice) {
1274+
extensionList.emplace_back(".md"); // Sega Mega Drive
1275+
}
1276+
12731277
if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
12741278
extensionList.emplace_back(".plg"); // DSTWO Plugin
12751279
}

romsel_r4theme/arm9/source/main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ int r4Theme(void) {
14481448
".sc", // Sega SC-3000
14491449
".sms", // Sega Master System
14501450
".gg", // Sega Game Gear
1451-
".gen", ".md", // Sega Mega Drive/Genesis
1451+
".gen", // Genesis
14521452
".smc", ".sfc", // SNES
14531453
".ws", ".wsc", // WonderSwan
14541454
".ngp", ".ngc", // Neo Geo Pocket
@@ -1482,6 +1482,10 @@ int r4Theme(void) {
14821482
}
14831483
}
14841484

1485+
if (!ms().secondaryDevice) {
1486+
extensionList.emplace_back(".md"); // Sega Mega Drive
1487+
}
1488+
14851489
if (memcmp(io_dldi_data->friendlyName, "DSTWO(Slot-1)", 0xD) == 0) {
14861490
extensionList.emplace_back(".plg"); // DSTWO Plugin
14871491
}

0 commit comments

Comments
 (0)