Skip to content
Snippets Groups Projects
Commit 497238e4 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 7c1236e1
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment