fusee: update display code for mariko
This commit is contained in:
@@ -125,7 +125,11 @@ static void _check_and_display_atmosphere_fatal_error(void) {
|
||||
video_init((void *)0xC0000000);
|
||||
|
||||
/* Initialize the display. */
|
||||
display_init();
|
||||
if (fuse_get_soc_type() == 1) {
|
||||
display_init_mariko();
|
||||
} else {
|
||||
display_init_erista();
|
||||
}
|
||||
|
||||
/* Set the framebuffer. */
|
||||
display_init_framebuffer((void *)0xC0000000);
|
||||
@@ -221,7 +225,11 @@ void check_and_display_panic(void) {
|
||||
}
|
||||
|
||||
/* Initialize the display. */
|
||||
display_init();
|
||||
if (fuse_get_soc_type() == 1) {
|
||||
display_init_mariko();
|
||||
} else {
|
||||
display_init_erista();
|
||||
}
|
||||
|
||||
/* Fill the screen. */
|
||||
display_color_screen(color);
|
||||
|
||||
Reference in New Issue
Block a user