Only offset TGUI9440 blitter CPU data when CPU source is mono. Fixes some corruption in Windows 3.x.
This commit is contained in:
parent
c88fb61aab
commit
2df886b1d8
1 changed files with 1 additions and 1 deletions
|
|
@ -1068,7 +1068,7 @@ void tgui_accel_command(int count, uint32_t cpu_dat, tgui_t *tgui)
|
|||
if (tgui->accel.bpp == 0)
|
||||
trans_col &= 0xff;
|
||||
|
||||
if (count != -1 && !tgui->accel.x)
|
||||
if (count != -1 && !tgui->accel.x && (tgui->accel.flags & TGUI_SRCMONO))
|
||||
{
|
||||
count -= tgui->accel.offset;
|
||||
cpu_dat <<= tgui->accel.offset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue