mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Revert "Add extra video logs so we can see what goes on"
This reverts commit 6780f5844428fc4e27c0619300229891ad2af219.
This commit is contained in:
parent
6e7e8a7680
commit
0f142d531a
15
retroarch.c
15
retroarch.c
@ -30077,9 +30077,6 @@ static bool video_driver_init_internal(
|
||||
scale = p_rarch->video_driver_state_scale;
|
||||
#endif
|
||||
|
||||
RARCH_LOG("[Video]: Video max dimensions: %d, windowed scale: %d\n",
|
||||
max_dim, scale);
|
||||
|
||||
/* Update core-dependent aspect ratio values. */
|
||||
video_driver_set_viewport_square_pixel(geom);
|
||||
video_driver_set_viewport_core();
|
||||
@ -30108,11 +30105,10 @@ static bool video_driver_init_internal(
|
||||
aspectratio_lut[new_aspect_idx].value);
|
||||
}
|
||||
|
||||
if (settings->bools.video_fullscreen || p_rarch->rarch_force_fullscreen)
|
||||
if (settings->bools.video_fullscreen|| p_rarch->rarch_force_fullscreen)
|
||||
{
|
||||
width = settings->uints.video_fullscreen_x;
|
||||
height = settings->uints.video_fullscreen_y;
|
||||
RARCH_LOG("[Video]: Set width and height to fullscreen values [%dx%d]\n", width, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -30123,7 +30119,6 @@ static bool video_driver_init_internal(
|
||||
{
|
||||
width = settings->uints.window_position_width;
|
||||
height = settings->uints.window_position_height;
|
||||
RARCH_LOG("[Video]: Set width and height based on window position width [%dx%d]\n", width, height);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -30134,12 +30129,10 @@ static bool video_driver_init_internal(
|
||||
unsigned base_width =
|
||||
roundf(geom->base_height * p_rarch->video_driver_aspect_ratio);
|
||||
width = roundf(base_width * video_scale);
|
||||
RARCH_LOG("[Video]: Force video aspect\n");
|
||||
}
|
||||
else
|
||||
width = roundf(geom->base_width * video_scale);
|
||||
height = roundf(geom->base_height * video_scale);
|
||||
RARCH_LOG("[Video]: Set width and height based on window position width [%dx%d]\n", width, height);
|
||||
}
|
||||
}
|
||||
|
||||
@ -30148,11 +30141,13 @@ static bool video_driver_init_internal(
|
||||
{
|
||||
width = settings->uints.video_fullscreen_x != 0 ? settings->uints.video_fullscreen_x : 3840;
|
||||
height = settings->uints.video_fullscreen_y != 0 ? settings->uints.video_fullscreen_y : 2160;
|
||||
RARCH_LOG("[Video]: Force resolution [%dx%d]\n", width, height);
|
||||
}
|
||||
#endif
|
||||
|
||||
RARCH_LOG("[Video]: Video @ %ux%u\n", width, height);
|
||||
if (width && height)
|
||||
RARCH_LOG("[Video]: Video @ %ux%u\n", width, height);
|
||||
else
|
||||
RARCH_LOG("[Video]: Video @ fullscreen\n");
|
||||
|
||||
p_rarch->video_driver_display_type = RARCH_DISPLAY_NONE;
|
||||
p_rarch->video_driver_display = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user