Skip to content

Commit 2893b42

Browse files
committed
Qt: log some game window settings
1 parent 12619da commit 2893b42

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

rpcs3/rpcs3qt/gui_application.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,11 @@ std::unique_ptr<gs_frame> gui_application::get_gs_frame()
629629
auto [w, h] = ::at32(g_video_out_resolution_map, g_cfg.video.resolution);
630630

631631
const bool resize_game_window = m_gui_settings->GetValue(gui::gs_resize).toBool();
632+
const bool resize_manually = m_gui_settings->GetValue(gui::gs_resize_manual).toBool();
632633

633634
if (resize_game_window)
634635
{
635-
if (m_gui_settings->GetValue(gui::gs_resize_manual).toBool())
636+
if (resize_manually)
636637
{
637638
w = m_gui_settings->GetValue(gui::gs_width).toInt();
638639
h = m_gui_settings->GetValue(gui::gs_height).toInt();
@@ -700,6 +701,8 @@ std::unique_ptr<gs_frame> gui_application::get_gs_frame()
700701
frame_geometry.setSize(QSize(w, h));
701702
}
702703

704+
gui_log.notice("gui_application: game window geometry: x=%d, y=%d, w=%d, h=%d, screen=%d, resize=%d, manually=%d", frame_geometry.left(), frame_geometry.top(), frame_geometry.width(), frame_geometry.height(), screen_index, resize_game_window, resize_manually);
705+
703706
gs_frame* frame = nullptr;
704707

705708
switch (g_cfg.video.renderer.get())

0 commit comments

Comments
 (0)