Reverted the meaning of video_fullscreen_first to what it used to be.
This commit is contained in:
@@ -505,7 +505,7 @@ load_general(void)
|
|||||||
|
|
||||||
video_fullscreen_scale = config_get_int(cat, "video_fullscreen_scale", 0);
|
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);
|
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");
|
gfxcard = video_get_video_from_internal_name("cga");
|
||||||
vid_api = plat_vidapi("default");
|
vid_api = plat_vidapi("default");
|
||||||
vid_resize = 0;
|
vid_resize = 0;
|
||||||
|
video_fullscreen_first = 1;
|
||||||
time_sync = TIME_SYNC_ENABLED;
|
time_sync = TIME_SYNC_ENABLED;
|
||||||
hdc_current = hdc_get_from_internal_name("none");
|
hdc_current = hdc_get_from_internal_name("none");
|
||||||
serial_enabled[0] = 1;
|
serial_enabled[0] = 1;
|
||||||
|
@@ -1050,7 +1050,7 @@ plat_setfullscreen(int on)
|
|||||||
if ((!!(on & 1)) == (!!video_fullscreen))
|
if ((!!(on & 1)) == (!!video_fullscreen))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (on && (start_in_fullscreen || video_fullscreen_first)) {
|
if (on && video_fullscreen_first) {
|
||||||
video_fullscreen |= 2;
|
video_fullscreen |= 2;
|
||||||
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10) {
|
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10) {
|
||||||
video_fullscreen_first = 0;
|
video_fullscreen_first = 0;
|
||||||
|
@@ -1427,7 +1427,7 @@ ui_init(int nCmdShow)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the mouse module. */
|
/* Initialize the mouse module. */
|
||||||
if (!start_in_fullscreen && !video_fullscreen_first)
|
if (!start_in_fullscreen)
|
||||||
win_mouse_init();
|
win_mouse_init();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -1459,7 +1459,7 @@ ui_init(int nCmdShow)
|
|||||||
plat_resize(scrnsz_x, scrnsz_y);
|
plat_resize(scrnsz_x, scrnsz_y);
|
||||||
|
|
||||||
/* Initialize the rendering window, or fullscreen. */
|
/* Initialize the rendering window, or fullscreen. */
|
||||||
if (start_in_fullscreen || video_fullscreen_first)
|
if (start_in_fullscreen)
|
||||||
plat_setfullscreen(3);
|
plat_setfullscreen(3);
|
||||||
|
|
||||||
/* Fire up the machine. */
|
/* Fire up the machine. */
|
||||||
|
Reference in New Issue
Block a user