Index: branches/meklort/i386/modules/GUI/gui.c =================================================================== --- branches/meklort/i386/modules/GUI/gui.c (revision 573) +++ branches/meklort/i386/modules/GUI/gui.c (revision 574) @@ -22,7 +22,7 @@ #define IMG_REQUIRED -1 #define THEME_NAME_DEFAULT "Default" -static const char* theme_name = THEME_NAME_DEFAULT; +const char* theme_name = THEME_NAME_DEFAULT; #ifdef EMBED_THEME #include "art.h" @@ -1825,7 +1825,7 @@ //========================================================================== // loadBootGraphics -static void loadBootGraphics(void) +void loadBootGraphics(void) { if (bootImageData != NULL) { return; @@ -1854,12 +1854,9 @@ int length; const char *dummyVal; int oldScreenWidth, oldScreenHeight; - bool legacy_logo; uint16_t x, y; - if (getBoolForKey("Legacy Logo", &legacy_logo, &bootInfo->bootConfig) && legacy_logo) { - usePngImage = false; - } else if (bootImageData == NULL) { + if (usePngImage && bootImageData == NULL) { loadBootGraphics(); } Index: branches/meklort/i386/modules/GUI/GUI_module.c =================================================================== --- branches/meklort/i386/modules/GUI/GUI_module.c (revision 573) +++ branches/meklort/i386/modules/GUI/GUI_module.c (revision 574) @@ -83,6 +83,9 @@ **/ void GUI_PreBoot_hook(void* arg1, void* arg2, void* arg3, void* arg4) { + bool legacy_logo; + extern bool usePngImage; + // Turn off any GUI elements if( bootArgs->Video.v_display == GRAPHICS_MODE ) { @@ -102,6 +105,10 @@ } } + + if (getBoolForKey("Legacy Logo", &legacy_logo, &bootInfo->bootConfig) && legacy_logo) { + usePngImage = false; + } } /**