mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: RLE mode + tweaks, VR runs but unstable as everything else
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@795 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
be20816c4c
commit
1b3f584492
4 changed files with 47 additions and 19 deletions
|
@ -79,7 +79,13 @@ void FinalizeLine32xRGB555(int sh, int line)
|
|||
}
|
||||
}
|
||||
else { // Run Length Mode
|
||||
|
||||
unsigned short len, t;
|
||||
for (i = 320; i > 0; ps++) {
|
||||
t = pal[*ps & 0xff];
|
||||
for (len = (*ps >> 8) + 1; len > 0 && i > 0; len--, i--, pd++, pb++)
|
||||
if (*pb == 0 || (t & 0x20))
|
||||
*pd = t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue