Reverted the meaning of video_fullscreen_first to what it used to be.

This commit is contained in:
OBattler
2021-09-18 21:33:13 +02:00
parent 61b26ab754
commit a491b3a35c
3 changed files with 5 additions and 4 deletions

View File

@@ -505,7 +505,7 @@ load_general(void)
video_fullscreen_scale = config_get_int(cat, "video_fullscreen_scale", 0);
video_fullscreen_first = config_get_int(cat, "video_fullscreen_first", 0);
video_fullscreen_first = config_get_int(cat, "video_fullscreen_first", 1);
video_filter_method = config_get_int(cat, "video_filter_method", 1);
@@ -2018,6 +2018,7 @@ config_load(void)
gfxcard = video_get_video_from_internal_name("cga");
vid_api = plat_vidapi("default");
vid_resize = 0;
video_fullscreen_first = 1;
time_sync = TIME_SYNC_ENABLED;
hdc_current = hdc_get_from_internal_name("none");
serial_enabled[0] = 1;

View File

@@ -1050,7 +1050,7 @@ plat_setfullscreen(int on)
if ((!!(on & 1)) == (!!video_fullscreen))
return;
if (on && (start_in_fullscreen || video_fullscreen_first)) {
if (on && video_fullscreen_first) {
video_fullscreen |= 2;
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10) {
video_fullscreen_first = 0;

View File

@@ -1427,7 +1427,7 @@ ui_init(int nCmdShow)
}
/* Initialize the mouse module. */
if (!start_in_fullscreen && !video_fullscreen_first)
if (!start_in_fullscreen)
win_mouse_init();
/*
@@ -1459,7 +1459,7 @@ ui_init(int nCmdShow)
plat_resize(scrnsz_x, scrnsz_y);
/* Initialize the rendering window, or fullscreen. */
if (start_in_fullscreen || video_fullscreen_first)
if (start_in_fullscreen)
plat_setfullscreen(3);
/* Fire up the machine. */