Fixed Mach64 linear source mode - fixes text in Corel Linux in 8-bit colour.
This commit is contained in:
parent
b39eb20237
commit
a93df8e16b
1 changed files with 11 additions and 8 deletions
|
|
@ -1237,6 +1237,8 @@ void mach64_blit(uint32_t cpu_dat, int count, mach64_t *mach64)
|
||||||
|
|
||||||
mach64->accel.src_x += mach64->accel.xinc;
|
mach64->accel.src_x += mach64->accel.xinc;
|
||||||
mach64->accel.dst_x += mach64->accel.xinc;
|
mach64->accel.dst_x += mach64->accel.xinc;
|
||||||
|
if (!(mach64->src_cntl & SRC_LINEAR_EN))
|
||||||
|
{
|
||||||
mach64->accel.src_x_count--;
|
mach64->accel.src_x_count--;
|
||||||
if (mach64->accel.src_x_count <= 0)
|
if (mach64->accel.src_x_count <= 0)
|
||||||
{
|
{
|
||||||
|
|
@ -1249,6 +1251,7 @@ void mach64_blit(uint32_t cpu_dat, int count, mach64_t *mach64)
|
||||||
else
|
else
|
||||||
mach64->accel.src_x_count = mach64->accel.src_width1;
|
mach64->accel.src_x_count = mach64->accel.src_width1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mach64->accel.x_count--;
|
mach64->accel.x_count--;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue