mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
tune flip calls and frame setup
for pandora, mostly
This commit is contained in:
parent
9c9cda8c39
commit
b7d64dbdb7
5 changed files with 15 additions and 13 deletions
|
@ -300,9 +300,6 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols)
|
|||
if (doing_bg_frame)
|
||||
return;
|
||||
|
||||
PicoDrawSetOutFormat(PDF_RGB555, 1);
|
||||
PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2);
|
||||
|
||||
if (is_32cols) {
|
||||
fb_w = 256;
|
||||
fb_left = fb_right = 32;
|
||||
|
@ -353,6 +350,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols)
|
|||
vout_fbdev_clear(layer_fb);
|
||||
vout_fbdev_resize(layer_fb, fb_w, fb_h, 16, fb_left, fb_right, fb_top, fb_bottom, 3);
|
||||
plat_video_flip();
|
||||
|
||||
PicoDrawSetOutFormat(PDF_RGB555, 0);
|
||||
}
|
||||
|
||||
void plat_video_loop_prepare(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue