mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
partially revived platform support for PSP (unfinished)
just to have a platform with an unusal screen resolution - suspend/resume handling probably non-working - no scaling settings - no image generation currently no intentions to finish this.
This commit is contained in:
parent
f821bb7011
commit
cdc6aac4c0
17 changed files with 961 additions and 2468 deletions
|
@ -12,6 +12,9 @@
|
|||
#if defined(USE_BGR555)
|
||||
#define PXCONV(t) (t)
|
||||
#define PXPRIO 0x8000 // prio in MSB
|
||||
#elif defined(USE_BGR565)
|
||||
#define PXCONV(t) (((t)&m1) | (((t)&(m2|m3)) << 1))
|
||||
#define PXPRIO 0x0020 // prio in LS green bit
|
||||
#else // RGB565
|
||||
#define PXCONV(t) ((((t)&m1) << 11) | (((t)&m2) << 1) | (((t)&m3) >> 10))
|
||||
#define PXPRIO 0x0020 // prio in LS green bit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue