diff options
author | Lioncash <mathew1800@gmail.com> | 2019-01-02 21:26:41 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-01-02 23:35:58 +0100 |
commit | fe3bf4f07547b848bc2b79605c4bcabb07642662 (patch) | |
tree | 7a14010850826d64a8ee4433288b225ca789e171 | |
parent | Merge pull request #1966 from lioncash/backtrace (diff) | |
download | yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar.gz yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar.bz2 yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar.lz yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar.xz yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.tar.zst yuzu-fe3bf4f07547b848bc2b79605c4bcabb07642662.zip |
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 15 |
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 @@ namespace Service::VI { struct DisplayInfo { + /// The name of this particular display. char display_name[0x40]{"Default"}; - u64 unknown_1{1}; - u64 unknown_2{1}; + + /// Whether or not the display has a limited number of layers. + u8 has_limited_layers{1}; + INSERT_PADDING_BYTES(7){}; + + /// Indicates the total amount of layers supported by the display. + /// @note This is only valid if has_limited_layers is set. + u64 max_layers{1}; + + /// Maximum width in pixels. u64 width{1280}; + + /// Maximum height in pixels. u64 height{720}; }; static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size"); |