X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Femu.c;h=0ef599d6f1fd39c791183b6b6a4fa2a9da745626;hb=a41b3b44eba91f83902c90c6075fe3b14b488a78;hp=7dc2c14ec89211d5311865bda92f646b6e8aa17a;hpb=662e622b59369f975691a70756f80188d8d27ea0;p=libpicofe.git diff --git a/linux/emu.c b/linux/emu.c index 7dc2c14..0ef599d 100644 --- a/linux/emu.c +++ b/linux/emu.c @@ -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();