From 41c50b372e7819f447d98ed2737aefc72d5b864d Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Mon, 20 May 2013 00:46:43 -0400 Subject: CATSFC/system/gui/uicolors.txt: Theme support for active and inactive item text colors. --- source/nds/gui.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/nds/gui.c') 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) -- cgit v1.2.3