summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-01-02 16:14:40 -0500
committerGravatar Lioncash2019-01-02 17:36:03 -0500
commit351f010cfc1c23e4003856b2e80089c99aca1e64 (patch)
tree36d1783f2e6ff324f88724dc755578f256a0b751 /src
parentservice/vi: Document unknown DisplayInfo struct members (diff)
downloadyuzu-351f010cfc1c23e4003856b2e80089c99aca1e64.tar.gz
yuzu-351f010cfc1c23e4003856b2e80089c99aca1e64.tar.xz
yuzu-351f010cfc1c23e4003856b2e80089c99aca1e64.zip
service/vi: Correct initial width and height values
Based off RE, it appears that almost all display types seem to use 1920x1080 except for a few (null display, edid display).
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 593e26ea8..b3e0aab11 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -44,10 +44,10 @@ struct DisplayInfo {
44 u64 max_layers{1}; 44 u64 max_layers{1};
45 45
46 /// Maximum width in pixels. 46 /// Maximum width in pixels.
47 u64 width{1280}; 47 u64 width{1920};
48 48
49 /// Maximum height in pixels. 49 /// Maximum height in pixels.
50 u64 height{720}; 50 u64 height{1080};
51}; 51};
52static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size"); 52static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");
53 53