32x: various gfx related bugfixes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@856 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-10 22:58:13 +00:00
parent 5a68108691
commit e51e5983fe
6 changed files with 45 additions and 27 deletions

View file

@ -156,6 +156,8 @@ static void apply_renderer(void)
PicoDraw32xSetFrameMode(1, only_32x);
PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2);
}
//PicoDraw32xSetFrameMode(0, 0);
//PicoDrawSetOutFormat(PDF_RGB555, 1);
}
void plat_video_toggle_renderer(int change, int is_menu)
@ -220,7 +222,9 @@ void pemu_forced_frame(int opts)
PicoOpt &= ~POPT_ALT_RENDERER;
PicoOpt |= opts|POPT_ACC_SPRITES; // acc_sprites
PicoDrawSetOutFormat(PDF_RGB555, 0);
PicoDrawSetOutFormat(PDF_RGB555, 1);
PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2);
PicoDraw32xSetFrameMode(0, 0);
Pico.m.dirtyPal = 1;
PicoFrameDrawOnly();
@ -311,7 +315,9 @@ void pemu_loop_end(void)
PicoOpt &= ~POPT_ALT_RENDERER;
PicoOpt |= POPT_EN_SOFTSCALE|POPT_ACC_SPRITES;
PicoDrawSetOutFormat(PDF_RGB555, 0);
PicoDrawSetOutFormat(PDF_RGB555, 1);
PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2);
PicoDraw32xSetFrameMode(0, 0);
Pico.m.dirtyPal = 1;
PicoFrame();