Working multimonitor

This commit is contained in:
Cacodemon345
2022-07-04 01:50:42 +06:00
parent af3f2685e1
commit 7ab71cafd3
18 changed files with 165 additions and 52 deletions

View File

@@ -932,6 +932,7 @@ load_video(void)
voodoo_enabled = !!config_get_int(cat, "voodoo", 0);
ibm8514_enabled = !!config_get_int(cat, "8514a", 0);
xga_enabled = !!config_get_int(cat, "xga", 0);
herc_enabled = !!config_get_int(cat, "herc_enabled", 0);
}
@@ -2480,6 +2481,11 @@ save_video(void)
else
config_set_int(cat, "xga", xga_enabled);
if (herc_enabled == 0)
config_delete_var(cat, "herc_enabled");
else
config_set_int(cat, "herc_enabled", herc_enabled);
delete_section_if_empty(cat);
}