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

Use aspect_fix() not aspect_correct() for initial window size

Caused the initial window to be the wrong size.
parent 679800f7
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2237 passed
......@@ -1472,7 +1472,7 @@ int main(int argc, char **argv)
vparams[cvmode].aspect_height = settings.custom_ah;
ciolib_initial_window_height = settings.window_height;
ciolib_initial_window_width = settings.window_width;
aspect_correct(&ciolib_initial_window_width, &ciolib_initial_window_height, settings.custom_aw, settings.custom_ah);
aspect_fix(&ciolib_initial_window_width, &ciolib_initial_window_height, settings.custom_aw, settings.custom_ah);
ciolib_mode=settings.output_mode;
if(settings.startup_mode != SCREEN_MODE_CURRENT)
text_mode=screen_to_ciolib(settings.startup_mode);
......
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