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

Only do the aspect fallback test once, after screen dimensions are final.

parent d8de9251
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4299 passed
......@@ -375,10 +375,6 @@ int load_vmode(struct video_stats *vs, int mode)
vs->currattr = vparams[i].default_attr;
vs->aspect_width = vparams[i].aspect_width;
vs->aspect_height = vparams[i].aspect_height;
if (vs->aspect_width == 0 || vs->aspect_height == 0 || ciolib_r2yptr == NULL || ciolib_y2rptr == NULL) {
vs->aspect_width = vs->scrnwidth;
vs->aspect_height = vs->scrnheight;
}
if (vparams[i].xres > 0)
vs->scrnwidth = vparams[i].xres;
else
......
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