mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Merge pull request #5955 from DavidHaywood/241119_2
vt1682 - (plug & play) tweak fallthrough bg colour, improves fade to white cases (nw)
This commit is contained in:
commit
453f7b488f
@ -4916,12 +4916,20 @@ uint32_t vt_vt1682_state::screen_update(screen_device& screen, bitmap_rgb32& bit
|
||||
if (pri1 <= pri2)
|
||||
{
|
||||
if (pix1) dstptr[x] = paldata[pix1 | 0x100];
|
||||
else if (pix2) dstptr[x] = paldata[pix2];
|
||||
else
|
||||
{
|
||||
if (pix2) dstptr[x] = paldata[pix2];
|
||||
else dstptr[x] = paldata[0x000];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pix2) dstptr[x] = paldata[pix2];
|
||||
else if (pix1) dstptr[x] = paldata[pix1 | 0x100];
|
||||
else
|
||||
{
|
||||
if (pix1) dstptr[x] = paldata[pix1 | 0x100];
|
||||
else dstptr[x] = paldata[0x100];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user