diff options
Diffstat (limited to 'src/mame/drivers/att4425.cpp')
-rw-r--r-- | src/mame/drivers/att4425.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mame/drivers/att4425.cpp b/src/mame/drivers/att4425.cpp index 4fe4294b5a9..0dab4bf2d4b 100644 --- a/src/mame/drivers/att4425.cpp +++ b/src/mame/drivers/att4425.cpp @@ -177,14 +177,10 @@ uint32_t att4425_state::screen_update(screen_device &screen, bitmap_ind16 &bitma gfx ^= 255; /* Display a scanline of a character */ - *p++ = BIT(gfx, 7) ? fg : bg; - *p++ = BIT(gfx, 6) ? fg : bg; - *p++ = BIT(gfx, 5) ? fg : bg; - *p++ = BIT(gfx, 4) ? fg : bg; - *p++ = BIT(gfx, 3) ? fg : bg; - *p++ = BIT(gfx, 2) ? fg : bg; - *p++ = BIT(gfx, 1) ? fg : bg; - *p++ = BIT(gfx, 0) ? fg : bg; + for (int i = 7; i >= 0; i--) + { + *p++ = BIT(gfx, i) ? fg : bg; + } *p++ = bg; } } |