mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
do full frame before menu for proper bg
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@734 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
782b026efc
commit
7bc9a680a2
2 changed files with 21 additions and 6 deletions
16
gp2x/emu.c
16
gp2x/emu.c
|
@ -788,6 +788,22 @@ void pemu_loop_prep(void)
|
|||
|
||||
void pemu_loop_end(void)
|
||||
{
|
||||
int po_old = PicoOpt;
|
||||
int eo_old = currentConfig.EmuOpt;
|
||||
|
||||
/* do one more frame for menu bg */
|
||||
PicoOpt &= ~POPT_ALT_RENDERER;
|
||||
PicoOpt |= POPT_EN_SOFTSCALE|POPT_ACC_SPRITES;
|
||||
currentConfig.EmuOpt |= EOPT_16BPP;
|
||||
|
||||
PicoScanBegin = EmuScanBegin16;
|
||||
PicoScanEnd = NULL;
|
||||
PicoDrawSetColorFormat(1);
|
||||
Pico.m.dirtyPal = 1;
|
||||
PicoFrame();
|
||||
|
||||
PicoOpt = po_old;
|
||||
currentConfig.EmuOpt = eo_old;
|
||||
}
|
||||
|
||||
const char *plat_get_credits(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue