Commit e4e639c2 authored by Deucе's avatar Deucе 👌🏾
Browse files

Don't force vmem->pixel remapping when saving screen.

This destroys graphics.  Fixes SF bug 94.
parent 2fa70069
Pipeline #3498 passed with stage
in 5 minutes and 25 seconds
......@@ -1671,7 +1671,7 @@ CIOLIBEXPORT struct ciolib_screen * ciolib_savescreen(void)
}
if (vmode != -1) {
ret->pixels = ciolib_getpixels(0, 0, vparams[vmode].charwidth * vparams[vmode].cols - 1, vparams[vmode].charheight * vparams[vmode].rows - 1, TRUE);
ret->pixels = ciolib_getpixels(0, 0, vparams[vmode].xres - 1, vparams[vmode].yres - 1, FALSE);
}
ciolib_vmem_gettext(1, 1, ret->text_info.screenwidth, ret->text_info.screenheight, ret->vmem);
ret->fg_colour = ciolib_fg;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment