From 0377ebd7a52e8d7555dd282fef139f379385bf8e Mon Sep 17 00:00:00 2001 From: illusion98 <37698908+illusion98@users.noreply.github.com> Date: Thu, 19 Dec 2019 04:16:52 -0500 Subject: [PATCH] Force 1080p output mode --- src/xenia/gpu/d3d12/d3d12_command_processor.h | 4 ++-- src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.h b/src/xenia/gpu/d3d12/d3d12_command_processor.h index 25fbe4001..bfd01e377 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.h +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.h @@ -317,8 +317,8 @@ class D3D12CommandProcessor : public CommandProcessor { uint8_t* gamma_ramp_upload_mapping_ = nullptr; D3D12_PLACED_SUBRESOURCE_FOOTPRINT gamma_ramp_footprints_[kQueueFrames * 2]; - static constexpr uint32_t kSwapTextureWidth = 1280; - static constexpr uint32_t kSwapTextureHeight = 720; + static constexpr uint32_t kSwapTextureWidth = 1920; + static constexpr uint32_t kSwapTextureHeight = 1080; inline std::pair GetSwapTextureSize() const { if (texture_cache_->IsResolutionScale2X()) { return std::make_pair(kSwapTextureWidth * 2, kSwapTextureHeight * 2); diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc index 3705297e8..705c5a2cf 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_video.cc @@ -132,8 +132,8 @@ DECLARE_XBOXKRNL_EXPORT1(VdGetCurrentDisplayInformation, kVideo, kStub); void VdQueryVideoMode(pointer_t video_mode) { // TODO(benvanik): get info from actual display. video_mode.Zero(); - video_mode->display_width = 1280; - video_mode->display_height = 720; + video_mode->display_width = 1920; + video_mode->display_height = 1080; video_mode->is_interlaced = 0; video_mode->is_widescreen = 1; video_mode->is_hi_def = 1;