Browse Source

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).
pull/15/merge
Lioncash 7 years ago
parent
commit
351f010cfc
  1. 4
      src/core/hle/service/vi/vi.cpp

4
src/core/hle/service/vi/vi.cpp

@ -44,10 +44,10 @@ struct DisplayInfo {
u64 max_layers{1};
/// Maximum width in pixels.
u64 width{1280};
u64 width{1920};
/// Maximum height in pixels.
u64 height{720};
u64 height{1080};
};
static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");

Loading…
Cancel
Save