mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fix SDL 2.0 build (nw)
This commit is contained in:
parent
8110709f01
commit
5b20b80e72
1 changed files with 3 additions and 3 deletions
|
@ -53,9 +53,9 @@ INLINE UINT32 pixel_ycc_to_rgb_pal(UINT16 *pixel, const rgb_t *palette)
|
|||
#define OP_RGB32_ARGB32(_src) ((_src) | 0xff000000)
|
||||
|
||||
#define OP_RGB32PAL_ARGB32(_src) \
|
||||
(texsource->palette[0x200 + _src.r()] | \
|
||||
texsource->palette[0x100 + _src.g()] | \
|
||||
texsource->palette[_src.b()] | 0xff000000)
|
||||
(texsource->palette[0x200 + (((_src) >> 16) & 0xff) ] | \
|
||||
texsource->palette[0x100 + (((_src) >> 8) & 0xff) ] | \
|
||||
texsource->palette[((_src) & 0xff) ] | 0xff000000)
|
||||
|
||||
#define OP_PAL16_ARGB32(_src) (0xff000000 | texsource->palette[_src])
|
||||
|
||||
|
|
Loading…
Reference in a new issue