diff options
author | 2014-02-27 13:35:15 +0000 | |
---|---|---|
committer | 2014-02-27 13:35:15 +0000 | |
commit | 64ac8f6776fc4451d756b0eb3bb6dbd22c49801a (patch) | |
tree | bb1d096fecec4684c8ab2b7be1b4d539ca06e57b /src/mess/video/zx8301.c | |
parent | f9d3fbaa73ccdab2e5fcf9fc095a14b4f24c3133 (diff) |
Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
Diffstat (limited to 'src/mess/video/zx8301.c')
-rw-r--r-- | src/mess/video/zx8301.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/video/zx8301.c b/src/mess/video/zx8301.c index 57bb24989d7..5544df7aef6 100644 --- a/src/mess/video/zx8301.c +++ b/src/mess/video/zx8301.c @@ -35,7 +35,7 @@ static const int ZX8301_COLOR_MODE4[] = { 0, 2, 4, 7 }; -static const rgb_t PALETTE[] = +static const rgb_t PALETTE_ZX8301[] = { rgb_t(0x00, 0x00, 0x00), // black rgb_t(0x00, 0x00, 0xff), // blue @@ -281,7 +281,7 @@ void zx8301_device::draw_line_mode4(bitmap_rgb32 &bitmap, int y, UINT16 da) int green = BIT(byte_high, 7); int color = (green << 1) | red; - bitmap.pix32(y, x++) = PALETTE[ZX8301_COLOR_MODE4[color]]; + bitmap.pix32(y, x++) = PALETTE_ZX8301[ZX8301_COLOR_MODE4[color]]; byte_high <<= 1; byte_low <<= 1; @@ -317,8 +317,8 @@ void zx8301_device::draw_line_mode8(bitmap_rgb32 &bitmap, int y, UINT16 da) color = 0; } - bitmap.pix32(y, x++) = PALETTE[color]; - bitmap.pix32(y, x++) = PALETTE[color]; + bitmap.pix32(y, x++) = PALETTE_ZX8301[color]; + bitmap.pix32(y, x++) = PALETTE_ZX8301[color]; byte_high <<= 2; byte_low <<= 2; |