-
Notifications
You must be signed in to change notification settings - Fork 0
/
palette.cpp
73 lines (72 loc) · 1.44 KB
/
palette.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
struct Color {
uint8_t red;
uint8_t green;
uint8_t blue;
};
// NES global color palette
struct Color PALETTE[64] = {
{ 0x7C,0x7C,0x7C },
{ 0x00,0x00,0xFC },
{ 0x00,0x00,0xBC },
{ 0x44,0x28,0xBC },
{ 0x94,0x00,0x84 },
{ 0xA8,0x00,0x20 },
{ 0xA8,0x10,0x00 },
{ 0x88,0x14,0x00 },
{ 0x50,0x30,0x00 },
{ 0x00,0x78,0x00 },
{ 0x00,0x68,0x00 },
{ 0x00,0x58,0x00 },
{ 0x00,0x40,0x58 },
{ 0x00,0x00,0x00 },
{ 0x00,0x00,0x00 },
{ 0x00,0x00,0x00 },
{ 0xBC,0xBC,0xBC },
{ 0x00,0x78,0xF8 },
{ 0x00,0x58,0xF8 },
{ 0x68,0x44,0xFC },
{ 0xD8,0x00,0xCC },
{ 0xE4,0x00,0x58 },
{ 0xF8,0x38,0x00 },
{ 0xE4,0x5C,0x10 },
{ 0xAC,0x7C,0x00 },
{ 0x00,0xB8,0x00 },
{ 0x00,0xA8,0x00 },
{ 0x00,0xA8,0x44 },
{ 0x00,0x88,0x88 },
{ 0x00,0x00,0x00 },
{ 0x00,0x00,0x00 },
{ 0x00,0x00,0x00 },
{ 0xF8,0xF8,0xF8 },
{ 0x3C,0xBC,0xFC },
{ 0x68,0x88,0xFC },
{ 0x98,0x78,0xF8 },
{ 0xF8,0x78,0xF8 },
{ 0xF8,0x58,0x98 },
{ 0xF8,0x78,0x58 },
{ 0xFC,0xA0,0x44 },
{ 0xF8,0xB8,0x00 },
{ 0xB8,0xF8,0x18 },
{ 0x58,0xD8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