Skip to content
Snippets Groups Projects
Commit 1f9fb219 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix incorrect offset advancement function

parent 3618930a
No related branches found
No related tags found
No related merge requests found
......@@ -1478,7 +1478,7 @@ bitmap_movetext_screen(struct vstat_vmem *vm, int x, int y, int tox, int toy, in
int bdoff = vmem_cell_offset(vm, 0, toy - 1);
for (int vy = 0; vy < height; vy++) {
memset(&bitmap_drawn[bdoff], 0x04, sizeof(*bitmap_drawn) * vstat.cols);
bdoff = vmem_next_offset(vm, bdoff);
bdoff = vmem_next_row_offset(vm, bdoff);
}
pthread_mutex_unlock(&screenlock);
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment