mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
minor PSP improvement
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@537 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
425cae19e2
commit
366747cc4b
1 changed files with 3 additions and 2 deletions
|
@ -292,7 +292,8 @@ static void EmuScanPrepare(void)
|
|||
HighCol = (unsigned char *)VRAM_CACHED_STUFF + 8;
|
||||
if (!(Pico.video.reg[1]&8)) HighCol += 8*512;
|
||||
|
||||
dynamic_palette = 0;
|
||||
if (dynamic_palette > 0)
|
||||
dynamic_palette--;
|
||||
if (Pico.m.dirtyPal)
|
||||
do_pal_update(1, 1);
|
||||
if ((rendstatus & PDRAW_ACC_SPRITES) && !(Pico.video.reg[0xC]&8))
|
||||
|
@ -317,7 +318,7 @@ static int EmuScanSlowEnd(unsigned int num)
|
|||
if (Pico.m.dirtyPal) {
|
||||
if (!dynamic_palette) {
|
||||
do_slowmode_lines(num);
|
||||
dynamic_palette = 1;
|
||||
dynamic_palette = 3; // last for 2 more frames
|
||||
}
|
||||
do_pal_update(1, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue