mirror of
https://github.com/holub/mame
synced 2025-06-16 17:29:27 +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 (pri1 <= pri2)
|
||||||
{
|
{
|
||||||
if (pix1) dstptr[x] = paldata[pix1 | 0x100];
|
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
|
else
|
||||||
{
|
{
|
||||||
if (pix2) dstptr[x] = paldata[pix2];
|
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