mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
32x: various gfx related bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@856 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
662e622b59
commit
a41b3b44eb
1 changed files with 8 additions and 2 deletions
10
linux/emu.c
10
linux/emu.c
|
@ -156,6 +156,8 @@ static void apply_renderer(void)
|
||||||
PicoDraw32xSetFrameMode(1, only_32x);
|
PicoDraw32xSetFrameMode(1, only_32x);
|
||||||
PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2);
|
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)
|
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 &= ~POPT_ALT_RENDERER;
|
||||||
PicoOpt |= opts|POPT_ACC_SPRITES; // acc_sprites
|
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;
|
Pico.m.dirtyPal = 1;
|
||||||
PicoFrameDrawOnly();
|
PicoFrameDrawOnly();
|
||||||
|
@ -311,7 +315,9 @@ void pemu_loop_end(void)
|
||||||
PicoOpt &= ~POPT_ALT_RENDERER;
|
PicoOpt &= ~POPT_ALT_RENDERER;
|
||||||
PicoOpt |= POPT_EN_SOFTSCALE|POPT_ACC_SPRITES;
|
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;
|
Pico.m.dirtyPal = 1;
|
||||||
PicoFrame();
|
PicoFrame();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue