notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a40739
)
pandora: move PicoDrawSetOutFormat
author
notaz
<notasas@gmail.com>
Sun, 3 Dec 2023 19:13:04 +0000
(21:13 +0200)
committer
irixxxx
<31696370+irixxxx@users.noreply.github.com>
Sun, 3 Dec 2023 20:52:28 +0000
(21:52 +0100)
platform/pandora/plat.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/pandora/plat.c
b/platform/pandora/plat.c
index
88a9652
..
3b2af54
100644
(file)
--- a/
platform/pandora/plat.c
+++ b/
platform/pandora/plat.c
@@
-387,8
+387,6
@@
void emu_video_mode_change(int start_line, int line_count, int start_col, int co
vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 4, 0);
\r
vout_fbdev_clear(layer_fb);
\r
plat_video_flip();
\r
-
\r
- PicoDrawSetOutFormat(PDF_RGB555, 0);
\r
}
\r
\r
void plat_video_loop_prepare(void)
\r
@@
-397,6
+395,7
@@
void plat_video_loop_prepare(void)
memset(g_menuscreen_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
\r
g_menuscreen_ptr = vout_fbdev_flip(main_fb);
\r
\r
+ PicoDrawSetOutFormat(PDF_RGB555, 0);
\r
// emu_video_mode_change will call pnd_setup_layer()
\r
}
\r
\r