mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-17 19:09:24 +01:00
fusee: Fix custom splash screen loading.
This commit is contained in:
parent
77bbb0ef78
commit
982797df31
@ -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…
x
Reference in New Issue
Block a user