summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/vi/vi.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 311b0c765..593e26ea8 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -32,10 +32,21 @@
32namespace Service::VI { 32namespace Service::VI {
33 33
34struct DisplayInfo { 34struct DisplayInfo {
35 /// The name of this particular display.
35 char display_name[0x40]{"Default"}; 36 char display_name[0x40]{"Default"};
36 u64 unknown_1{1}; 37
37 u64 unknown_2{1}; 38 /// Whether or not the display has a limited number of layers.
39 u8 has_limited_layers{1};
40 INSERT_PADDING_BYTES(7){};
41
42 /// Indicates the total amount of layers supported by the display.
43 /// @note This is only valid if has_limited_layers is set.
44 u64 max_layers{1};
45
46 /// Maximum width in pixels.
38 u64 width{1280}; 47 u64 width{1280};
48
49 /// Maximum height in pixels.
39 u64 height{720}; 50 u64 height{720};
40}; 51};
41static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size"); 52static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");