From d5b248bb863570f46a394ea7e217deb9666402fd Mon Sep 17 00:00:00 2001 From: Arisotura Date: Wed, 17 Nov 2021 21:44:49 +0100 Subject: decouple more config shit from the core. bahahah --- src/Config.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/Config.cpp') diff --git a/src/Config.cpp b/src/Config.cpp index 1163e06..0565a32 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -28,28 +28,12 @@ namespace Config const char* kConfigFile = "melonDS.ini"; -char FirmwareUsername[64]; -int FirmwareLanguage; -bool FirmwareOverrideSettings; -int FirmwareBirthdayMonth; -int FirmwareBirthdayDay; -int FirmwareFavouriteColour; -char FirmwareMessage[1024]; - -int RandomizeMAC; + int AudioBitrate; ConfigEntry ConfigFile[] = { - {"FirmwareUsername", 1, FirmwareUsername, 0, "melonDS", 63}, - {"FirmwareLanguage", 0, &FirmwareLanguage, 1, NULL, 0}, - {"FirmwareOverrideSettings", 0, &FirmwareOverrideSettings, false, NULL, 0}, - {"FirmwareBirthdayMonth", 0, &FirmwareBirthdayMonth, 0, NULL, 0}, - {"FirmwareBirthdayDay", 0, &FirmwareBirthdayDay, 0, NULL, 0}, - {"FirmwareFavouriteColour", 0, &FirmwareFavouriteColour, 0, NULL, 0}, - {"FirmwareMessage", 1, FirmwareMessage, 0, "", 1023}, - - {"RandomizeMAC", 0, &RandomizeMAC, 0, NULL, 0}, + {"AudioBitrate", 0, &AudioBitrate, 0, NULL, 0}, {"", -1, NULL, 0, NULL, 0} -- cgit v1.2.3