BT48x sanity checking, fixes #4607.

This commit is contained in:
OBattler
2024-07-14 23:58:29 +02:00
parent ea353f8bea
commit ec4fbc60b4

View File

@@ -420,7 +420,7 @@ bt48x_hwcursor_draw(svga_t *svga, int displine)
comb = (b0 | (b1 << 1));
y_pos = displine;
x_pos = offset + svga->x_add;
x_pos = (offset + svga->x_add) & 2047;
p = buffer32->line[y_pos];
if (offset >= svga->dac_hwcursor_latch.x) {