add option to disable splash-screen in nand-loader (enabled by default)

This commit is contained in:
Christopher Roy Bratusek 2012-12-09 18:55:28 +01:00
parent 9f2c3ea263
commit 10e9932bf1
3 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,7 @@ struct menu entryList[] = {
{ "Force NTSC", &loaderCfg.forceNtsc },
{ "Force HDTV", &loaderCfg.forceHdtv },
{ "Patch Video Mode", &loaderCfg.patchVmode },
{ "Show Splash", &loaderCfg.showSplash },
};
/* Macros */

View File

@ -11,6 +11,9 @@ struct config {
/* Video mode patching */
bool patchVmode;
/* Splash screen */
bool showSplash;
};
/* NANDLoader configuration */

View File

@ -60,7 +60,8 @@ int main(int argc, char **argv)
Menu();
/* Draw loading image */
Gui_DrawLoading();
if(loaderCfg.showSplash)
Gui_DrawLoading();
/* Execute application */
Loader_Execute();