]> git.ozlabs.org Git - petitboot/blobdiff - petitboot.c
Give boot messages time to display.
[petitboot] / petitboot.c
index 6f2a386fe90cbc021fc4317b3d618eccb027add7..48442e9c065f3c7f9d65b74eac1857e450820c9d 100644 (file)
@@ -797,7 +797,6 @@ twin_bool_t pboot_event_filter(twin_screen_t            *screen,
                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);
@@ -942,7 +941,7 @@ void pboot_message(const char *fmt, ...)
                           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)