diff --git a/common/theme.c b/common/theme.c index 80484b7..0cc57bf 100644 --- a/common/theme.c +++ b/common/theme.c @@ -2,18 +2,6 @@ void themeStartup(ThemePreset preset) { switch (preset) { - case THEME_PRESET_DARK: - themeCurrent = (theme_t) { - textColor: MakeColor(255, 255, 255, 255), - frontWaveColor: MakeColor(96, 204, 204, 255), - middleWaveColor: MakeColor(66, 154, 159, 255), - backWaveColor: MakeColor(73, 103, 169, 255), - backgroundColor: MakeColor(45, 55, 66, 255), - highlightColor: MakeColor(129, 137, 236, 255), - enableWaveBlending: 0 - }; - break; - case THEME_PRESET_LIGHT: themeCurrent = (theme_t) { textColor: MakeColor(0, 0, 0, 255), @@ -25,5 +13,17 @@ void themeStartup(ThemePreset preset) { enableWaveBlending: 0 }; break; + + case THEME_PRESET_DARK: + themeCurrent = (theme_t) { + textColor: MakeColor(255, 255, 255, 255), + frontWaveColor: MakeColor(96, 204, 204, 255), + middleWaveColor: MakeColor(66, 154, 159, 255), + backWaveColor: MakeColor(73, 103, 169, 255), + backgroundColor: MakeColor(45, 55, 66, 255), + highlightColor: MakeColor(129, 137, 236, 255), + enableWaveBlending: 0 + }; + break; } } \ No newline at end of file diff --git a/common/theme.h b/common/theme.h index 5b15add..d3c2756 100644 --- a/common/theme.h +++ b/common/theme.h @@ -15,8 +15,8 @@ typedef struct typedef enum { - THEME_PRESET_DARK, THEME_PRESET_LIGHT, + THEME_PRESET_DARK, } ThemePreset; void themeStartup(ThemePreset preset); diff --git a/nx_main/main.c b/nx_main/main.c index fbacd1a..b9395c4 100644 --- a/nx_main/main.c +++ b/nx_main/main.c @@ -14,6 +14,7 @@ int main(int argc, char **argv) appletSetScreenShotPermission(1); ColorSetId theme; + setsysInitialize(); setsysGetColorSetId(&theme); themeStartup((ThemePreset)theme); menuStartup();