summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2014-03-31 14:22:29 +0000
committer Curt Coder <curtcoder@mail.com>2014-03-31 14:22:29 +0000
commit410adb11f8b4913208bc06d80c74c963c992d900 (patch)
tree5e9a9742a9e75bfc095e35bb82690c8267fd3d8b /src
parentb75c70eb0ff8330e85115dc499bab32c5c8013ce (diff)
(MESS) abc806: Fixed blackness. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mess/video/abc806.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/video/abc806.c b/src/mess/video/abc806.c
index d59b9583610..485a6faee6d 100644
--- a/src/mess/video/abc806.c
+++ b/src/mess/video/abc806.c
@@ -325,13 +325,13 @@ static MC6845_UPDATE_ROW( abc806_update_row )
for (int bit = 0; bit < ABC800_CHAR_WIDTH; bit++)
{
int color = BIT(chargen_data, 7) ? fg_color : bg_color;
- if (!de) color = rgb_t::black;
+ if (!de) color = 0;
- bitmap.pix32(y, x++) = PALETTE_ABC[color & 0x07];
+ bitmap.pix32(y, x++) = PALETTE_ABC[color];
if (e5 || e6)
{
- bitmap.pix32(y, x++) = PALETTE_ABC[color & 0x07];
+ bitmap.pix32(y, x++) = PALETTE_ABC[color];
}
chargen_data <<= 1;