pandora: workaround some reported problems
[picodrive.git] / platform / pandora / plat.c
index 396e11f..2171c03 100644 (file)
@@ -40,7 +40,6 @@ static int g_layer_x, g_layer_y;
 static int g_layer_w = 320, g_layer_h = 240;\r
 static int g_osd_fps_x, g_osd_y, doing_bg_frame;\r
 \r
-static const char pnd_script_base[] = "sudo -n /usr/pandora/scripts";\r
 static unsigned char __attribute__((aligned(4))) fb_copy[320 * 240 * 2];\r
 static void *temp_frame;\r
 const char *renderer_names[] = { NULL };\r
@@ -375,6 +374,8 @@ void plat_video_loop_prepare(void)
 void pemu_loop_prep(void)\r
 {\r
        // dirty buffers better go now than during gameplay\r
+       fflush(stdout);\r
+       fflush(stderr);\r
        sync();\r
        sleep(0);\r
 }\r