Fix mono pattern position in the Mach64 cards using 24bpp mode (May 7th, 2025)

See above.
This commit is contained in:
TC1995
2025-05-07 21:40:22 +02:00
parent a1bab703a6
commit e6a41921cf

View File

@@ -1670,7 +1670,7 @@ mach64_blit(uint32_t cpu_dat, int count, mach64_t *mach64)
case MONO_SRC_PAT:
if (mach64->dst_cntl & DST_24_ROT_EN) {
if (!mach64->accel.xx_count)
mix = mach64->accel.pattern[dst_y & 7][dst_x & 7];
mix = mach64->accel.pattern[dst_y & 7][(dst_x / 3) & 7];
} else
mix = mach64->accel.pattern[dst_y & 7][dst_x & 7];
break;