notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pandora: workaround some reported problems
[picodrive.git]
/
platform
/
pandora
/
plat.c
diff --git
a/platform/pandora/plat.c
b/platform/pandora/plat.c
index
396e11f
..
2171c03
100644
(file)
--- a/
platform/pandora/plat.c
+++ b/
platform/pandora/plat.c
@@
-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 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
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
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
sync();
\r
sleep(0);
\r
}
\r