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

Swap the order of defaults so vstat.scaling only gets written once

This is just to make it less noise to watch vstat.scaling from gdb.
parent fac1b56a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4237 passed
......@@ -542,10 +542,10 @@ static int video_init()
lot easier. */
pthread_mutex_lock(&vstatlock);
if (x_cvstat.scaling < 1 || vstat.scaling < 1)
x_cvstat.scaling = vstat.scaling = 1;
if (ciolib_initial_scaling)
x_cvstat.scaling = vstat.scaling = ciolib_initial_scaling;
if (x_cvstat.scaling < 1 || vstat.scaling < 1)
x_cvstat.scaling = vstat.scaling = 1;
pthread_mutex_unlock(&vstatlock);
/* Initialize mode 3 (text, 80x25, 16 colors) */
if(load_vmode(&vstat, C80))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment