From 357d9adfcaaa61c6434029a6dd0144af6a942ac1 Mon Sep 17 00:00:00 2001 From: illusion <37698908+illusion0001@users.noreply.github.com> Date: Wed, 22 Jan 2020 09:31:55 +1100 Subject: [PATCH] automatic aspect ratio change aspect ratio will now change if internal resolution is set to anything 4:3 (i.e 640x480, 1024x768, 1600x1200.. etc.) --- src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc index 8ebacd35b..31c3c94c4 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc @@ -137,7 +137,8 @@ void VdQueryVideoMode(X_VIDEO_MODE* video_mode) { video_mode->display_width = 1280; video_mode->display_height = 720; video_mode->is_interlaced = 0; - video_mode->is_widescreen = 1; + video_mode->is_widescreen = ((video_mode->display_width / 4) > + (video_mode->display_height / 3)); video_mode->is_hi_def = 1; video_mode->refresh_rate = 60.0f; video_mode->video_standard = 1; // NTSC