From 1e4d65bcf78ebf9491611a9ef4fce69764fa0885 Mon Sep 17 00:00:00 2001 From: gibbed Date: Fri, 19 Jun 2015 07:34:51 -0500 Subject: [PATCH] Whoops. --- src/xenia/kernel/xboxkrnl_video.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xenia/kernel/xboxkrnl_video.cc b/src/xenia/kernel/xboxkrnl_video.cc index 160f89d98..02c0b61df 100644 --- a/src/xenia/kernel/xboxkrnl_video.cc +++ b/src/xenia/kernel/xboxkrnl_video.cc @@ -72,6 +72,8 @@ struct X_DISPLAY_INFO { }; static_assert_size(X_DISPLAY_INFO, 88); +void VdQueryVideoMode(pointer_t video_mode); + void VdGetCurrentDisplayInformation(pointer_t display_info) { X_VIDEO_MODE mode; VdQueryVideoMode(&mode); @@ -91,10 +93,10 @@ void VdGetCurrentDisplayInformation(pointer_t display_info) { display_info->unk42 = 180; // display_height / 4? display_info->unk44 = 320; display_info->unk46 = 180; - display_info->unk48 = (xe::be)mode.display_width; - display_info->unk4A = (xe::be)mode.display_height; + display_info->unk48 = (xe::be)mode.display_width; // actual display size? + display_info->unk4A = (xe::be)mode.display_height; // actual display size? display_info->unk4C = mode.refresh_rate; - display_info->unk56 = (xe::be)mode.display_width; + display_info->unk56 = (xe::be)mode.display_width; // display width } DECLARE_XBOXKRNL_EXPORT(VdGetCurrentDisplayInformation, ExportTag::kVideo);