mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x, draw, avoid some warnings
This commit is contained in:
parent
6138c4df25
commit
a95da16ae1
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
// BGR555 to native conversion
|
||||
#if defined(USE_BGR555)
|
||||
#define PXCONV(t) (t)
|
||||
#define PXCONV(t) ((t)&(mr|mg|mb|mp))
|
||||
#define PXPRIO 0x8000 // prio in MSB
|
||||
#elif defined(USE_BGR565)
|
||||
#define PXCONV(t) (((t)&mr) | (((t)&(mg|mb)) << 1) | (((t)&mp) >> 10))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue