From 07653e66f13bbc2d13b16941353b011cc1e85e17 Mon Sep 17 00:00:00 2001 From: Robz8 Date: Mon, 11 Jun 2018 22:56:37 -0600 Subject: [PATCH] Save console model setting to nds-bootstrap.ini --- source/settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/settings.cpp b/source/settings.cpp index 5cd5280..ab778fb 100644 --- a/source/settings.cpp +++ b/source/settings.cpp @@ -9,6 +9,7 @@ using std::wstring; #include <3ds.h> static CIniFile settingsini( "sdmc:/_nds/dsimenuplusplus/settings.ini" ); +static CIniFile bootstrapini( "sdmc:/_nds/nds-bootstrap.ini" ); // Settings Settings_t settings; @@ -121,4 +122,7 @@ void SaveSettings(void) { settingsini.SetInt("SRLOADER", "CONSOLE_MODEL", settings.twl.consoleModel); settingsini.SetInt("CTR-SETTINGS", "NOTIFICATION_LED", settings.twl.rainbowLed); settingsini.SaveIniFile("sdmc:/_nds/dsimenuplusplus/settings.ini"); + + bootstrapini.SetInt("NDS-BOOTSTRAP", "CONSOLE_MODEL", settings.twl.consoleModel); + bootstrapini.SaveIniFile("sdmc:/_nds/nds-bootstrap.ini"); }