aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.c
diff options
context:
space:
mode:
authorNebuleon Fumika2013-05-20 00:46:43 -0400
committerNebuleon Fumika2013-05-20 00:46:43 -0400
commit41c50b372e7819f447d98ed2737aefc72d5b864d (patch)
treefc48b6665c8fad469c96b61154ae0bfd536505e3 /source/nds/gui.c
parent22aa56d2ed0bb3640e3808577d63c082c6ae162c (diff)
downloadsnes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.tar.gz
snes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.tar.bz2
snes9x2005-41c50b372e7819f447d98ed2737aefc72d5b864d.zip
CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item text colors.
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r--source/nds/gui.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 7c9fb92..ca5a016 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -4904,6 +4904,14 @@ void gui_init(u32 lang_id)
goto gui_init_err;
}
+ flag = color_init();
+ if(0 != flag)
+ {
+ char message[512];
+ sprintf(message, "SYSTEM/GUI/uicolors.txt\nis missing\nPress any key to return to\nthe menu\n\nSYSTEM/GUI/uicolors.txt\nest manquant\nAppuyer sur une touche pour\nretourner au menu");
+ err_msg(DOWN_SCREEN, message);
+ goto gui_init_err;
+ }
flag = load_font();
if(0 != flag)