Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Commit d68dc0a

Browse files
committed
Change "DSisionX" to "DSiMenu++", and add fix for Acekard theme
1 parent 9490b95 commit d68dc0a

5 files changed

Lines changed: 13 additions & 10 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ BANNERTOOL ?= ../bannertool.exe
2121
#---------------------------------------------------------------------------------
2222

2323
VERSION_MAJOR := 2
24-
VERSION_MINOR := 0
25-
VERSION_MICRO := 2
24+
VERSION_MINOR := 1
25+
VERSION_MICRO := 0
2626
#---------------------------------------------------------------------------------
2727
# TARGET is the name of the output
2828
# BUILD is the directory where object files & intermediate files will be placed
7.27 KB
Loading
-7.52 KB
Binary file not shown.

source/main.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ int main()
252252
pp2d_load_texture_png(topbgtex, "romfs:/graphics/Top screen (SRLoader).png");
253253
break;
254254
case 2:
255-
pp2d_load_texture_png(topbgtex, "romfs:/graphics/Top screen (DSisionX).png");
255+
pp2d_load_texture_png(topbgtex, "romfs:/graphics/Top screen (DSiMenuPP).png");
256256
break;
257257
}
258258
topScreenGraphicLoaded = true;
@@ -376,9 +376,9 @@ int main()
376376
autostarttext = "SRLoader";
377377
button_titles2[2] = "Update SRLoader";
378378
} else if (settings.twl.appName == 2) {
379-
button_titles[0] = "Start DSisionX";
380-
autostarttext = "DSisionX";
381-
button_titles2[2] = "Update DSisionX";
379+
button_titles[0] = "Start DSiMenu++";
380+
autostarttext = "DSiMenu++";
381+
button_titles2[2] = "Update DSiMenu++";
382382
}
383383

384384
for (int topfb = GFX_LEFT; topfb <= GFX_RIGHT; topfb++) {
@@ -392,7 +392,7 @@ int main()
392392
} else if (settings.twl.appName == 1) {
393393
menudescription[1] = "SRLoader and nds-bootstrap.";
394394
} else if (settings.twl.appName == 2) {
395-
menudescription[1] = "DSisionX and nds-bootstrap.";
395+
menudescription[1] = "DSiMenu++ and nds-bootstrap.";
396396
}
397397
menudescription_width = pp2d_get_text_width(menudescription[0], 0.60, 0.60);
398398
pp2d_draw_text((400-menudescription_width)/2, 144, 0.60, 0.60f, WHITE, menudescription[0]);
@@ -405,7 +405,7 @@ int main()
405405
} else if (settings.twl.appName == 1) {
406406
menudescription[0] = "Press  to reboot into SRLoader.";
407407
} else if (settings.twl.appName == 2) {
408-
menudescription[0] = "Press  to reboot into DSisionX.";
408+
menudescription[0] = "Press  to reboot into DSiMenu++.";
409409
}
410410
menudescription_width = pp2d_get_text_width(menudescription[0], 0.60, 0.60);
411411
pp2d_draw_text((400-menudescription_width)/2, 152, 0.60, 0.60f, WHITE, menudescription[0]);
@@ -417,7 +417,7 @@ int main()
417417
} else if (settings.twl.appName == 1) {
418418
menudescription[1] = "last-launched in SRLoader.";
419419
} else if (settings.twl.appName == 2) {
420-
menudescription[1] = "last-launched in DSisionX.";
420+
menudescription[1] = "last-launched in DSiMenu++.";
421421
}
422422
menudescription_width = pp2d_get_text_width(menudescription[0], 0.60, 0.60);
423423
pp2d_draw_text((400-menudescription_width)/2, 144, 0.60, 0.60f, WHITE, menudescription[0]);
@@ -440,7 +440,7 @@ int main()
440440
} else if (settings.twl.appName == 1) {
441441
menudescription[1] = "before SRLoader appears.";
442442
} else if (settings.twl.appName == 2) {
443-
menudescription[1] = "before DSisionX appears.";
443+
menudescription[1] = "before DSiMenu++ appears.";
444444
}
445445
menudescription_width = pp2d_get_text_width(menudescription[0], 0.60, 0.60);
446446
pp2d_draw_text((400-menudescription_width)/2, 144, 0.60, 0.60f, WHITE, menudescription[0]);

source/settings.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ void SaveSettings(void) {
237237
// TWL settings.
238238
settingsini.SetInt("SRLOADER", "CONSOLE_MODEL", settings.twl.consoleModel);
239239
settingsini.SetInt("SRLOADER", "APP_NAME", settings.twl.appName);
240+
FS_CardType type;
241+
FSUSER_GetCardType(&type);
242+
settingsini.SetInt("SRLOADER", "3DS_CART_INSERTED", ((type == CARD_CTR) ? true : false));
240243
settingsini.SetInt("CTR-SETTINGS", "NOTIFICATION_LED", settings.twl.rainbowLed);
241244
settingsini.SaveIniFile("sdmc:/_nds/TWiLightMenu/settings.ini");
242245

0 commit comments

Comments
 (0)