mirror of
https://github.com/libretro/bk-emulator.git
synced 2025-02-16 23:49:03 +00:00
Add BGR1555 color support
This commit is contained in:
parent
ecd3842140
commit
3e56977f35
@ -21,9 +21,15 @@ unsigned char dirty[1024];
|
||||
enum {
|
||||
Black = 0,
|
||||
White = 0xffff,
|
||||
#if defined(ABGR1555)
|
||||
Red = 0x001f,
|
||||
Green = 0x3e0,
|
||||
Blue = 0x7c00,
|
||||
#else
|
||||
Red = 0xf800,
|
||||
Green = 0x07e0,
|
||||
Blue = 0x001f,
|
||||
#endif
|
||||
Yellow = Red | Green,
|
||||
Magenta = Red | Blue,
|
||||
Cyan = Green | Blue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user