diff options
author | 2018-09-24 16:42:43 +0700 | |
---|---|---|
committer | 2018-09-24 16:42:43 +0700 | |
commit | b99742eacb6fb2ea4e697ce948acb448cd4be76e (patch) | |
tree | e0e8a9e6d3c713fee61363c6ebab3ca72f3d34b6 | |
parent | 34069f8823c86120534af6637f85bab3b4d734e1 (diff) |
bt459: 4 bits per pixel, not 3 (nw)
-rw-r--r-- | src/devices/video/bt459.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/bt459.cpp b/src/devices/video/bt459.cpp index da7d2ac8899..6e1ba2294d1 100644 --- a/src/devices/video/bt459.cpp +++ b/src/devices/video/bt459.cpp @@ -548,8 +548,8 @@ void bt459_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, co { u8 data = *pixel_data++; - bitmap.pix(y, x + 1) = get_rgb(data & 0x7, pixel_mask); data >>= 4; - bitmap.pix(y, x + 0) = get_rgb(data & 0x7, pixel_mask); + bitmap.pix(y, x + 1) = get_rgb(data & 0xf, pixel_mask); data >>= 4; + bitmap.pix(y, x + 0) = get_rgb(data & 0xf, pixel_mask); } break; |