Currently we don't see booting messages, as petitboot has quit before
the fbdev has updated. By using twin_window_draw() in pboot_message,
we force the refresh before petitboot exits.
Also, don't exit in the gameOS path - may as well leave the GUI active
while rebooting.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
case KEY_DELETE:
pboot_message("booting to GameOS");
system(BOOT_GAMEOS_BIN);
- pboot_quit();
}
case TwinEventKeyUp:
twin_screen_set_cursor(pboot_screen, NULL, 0, 0);
0, 0,
pboot_spane->window->pixmap->width,
pboot_spane->window->pixmap->height);
- twin_window_queue_paint(pboot_spane->window);
+ twin_window_draw(pboot_spane->window);
}
static void pboot_create_spane(void)