diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-23 00:38:12 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-23 00:38:12 +0100 |
commit | 00ddb532fbfc10b016aa193e2443830341e3fec0 (patch) | |
tree | 8fb2f05497e7d9abf9721485a0a8a5df30d28a92 | |
parent | d3529da1e45c9dbbb10c7efbcd99d1ff525283f9 (diff) |
Silence too verbose boot splash debug info
-rw-r--r-- | main/main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/main.cpp b/main/main.cpp index b6bc10cee7..e52b87913b 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -870,19 +870,18 @@ Error Main::setup2() { String boot_logo_path=GLOBAL_DEF("application/boot_splash",String()); bool boot_logo_scale=GLOBAL_DEF("application/boot_splash_fullsize",true); Globals::get_singleton()->set_custom_property_info("application/boot_splash",PropertyInfo(Variant::STRING,"application/boot_splash",PROPERTY_HINT_FILE,"*.png")); - print_line("BOOT SPLASH: "+boot_logo_path); Image boot_logo; boot_logo_path = boot_logo_path.strip_edges(); - print_line("BOOT SPLASH IS : "+boot_logo_path); if (boot_logo_path!=String() /*&& FileAccess::exists(boot_logo_path)*/) { + print_line("Boot splash path: "+boot_logo_path); Error err = boot_logo.load(boot_logo_path); if (err!=OK) { - print_line("ËRROR LOADING BOOT LOGO SPLASH :"+boot_logo_path); + print_line("Error loading boot logo splash!); } else { - print_line("BOOT SPLASH OK!"); + print_line("Boot splash OK!"); } } @@ -901,7 +900,7 @@ Error Main::setup2() { } else { #ifndef NO_DEFAULT_BOOT_LOGO - MAIN_PRINT("Main: Create botsplash"); + MAIN_PRINT("Main: Create bootsplash"); Image splash(boot_splash_png); MAIN_PRINT("Main: ClearColor"); |