mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 09:30:58 +01:00
fusee: Comment out splash screen delay.
This commit is contained in:
parent
a8ac5c651f
commit
58a42be38f
@ -1,5 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "utils.h"
|
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
#include "splash_screen.h"
|
#include "splash_screen.h"
|
||||||
#include "fs_utils.h"
|
#include "fs_utils.h"
|
||||||
@ -7,7 +6,7 @@
|
|||||||
|
|
||||||
void display_splash_screen_bmp(const char *custom_splash_path) {
|
void display_splash_screen_bmp(const char *custom_splash_path) {
|
||||||
uint8_t *splash_screen = g_default_splash_screen;
|
uint8_t *splash_screen = g_default_splash_screen;
|
||||||
if (custom_splash_path != NULL && custom_splash_path[0] != '\x00') {
|
if ((custom_splash_path != NULL) && (custom_splash_path[0] != '\x00')) {
|
||||||
if (!read_from_file(splash_screen, sizeof(g_default_splash_screen), custom_splash_path)) {
|
if (!read_from_file(splash_screen, sizeof(g_default_splash_screen), custom_splash_path)) {
|
||||||
fatal_error("Failed to read custom splash screen from %s!\n", custom_splash_path);
|
fatal_error("Failed to read custom splash screen from %s!\n", custom_splash_path);
|
||||||
}
|
}
|
||||||
@ -16,5 +15,5 @@ void display_splash_screen_bmp(const char *custom_splash_path) {
|
|||||||
/* TODO: Display the splash screen. It should be a pointer to a BMP, at this point. */
|
/* TODO: Display the splash screen. It should be a pointer to a BMP, at this point. */
|
||||||
|
|
||||||
/* Display the splash screen for three seconds. */
|
/* Display the splash screen for three seconds. */
|
||||||
wait(3000000);
|
/* udelay(3000000); */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user