mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-05 19:51:45 +00:00
fusee: Fix custom splash screen loading.
This commit is contained in:
parent
77bbb0ef78
commit
982797df31
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void display_splash_screen_bmp(const char *custom_splash_path, void *fb_address)
|
|||
|
||||
/* Try to load an external custom splash screen. */
|
||||
if ((custom_splash_path != NULL) && (custom_splash_path[0] != '\x00')) {
|
||||
if (!read_from_file(splash_screen, sizeof(&splash_screen_bmp), custom_splash_path)) {
|
||||
if (!read_from_file(splash_screen, splash_screen_bmp_size, custom_splash_path)) {
|
||||
fatal_error("Failed to read custom splash screen from %s!\n", custom_splash_path);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue