summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/vi_types.h')
-rw-r--r--src/core/hle/service/vi/vi_types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi_types.h b/src/core/hle/service/vi/vi_types.h
index 7f2c70aef..95ff66358 100644
--- a/src/core/hle/service/vi/vi_types.h
+++ b/src/core/hle/service/vi/vi_types.h
@@ -66,6 +66,14 @@ struct DisplayInfo {
};
static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");
+struct DisplayMode {
+ u32 width;
+ u32 height;
+ f32 refresh_rate;
+ u32 unknown;
+};
+static_assert(sizeof(DisplayMode) == 0x10, "DisplayMode has wrong size");
+
class NativeWindow final {
public:
constexpr explicit NativeWindow(s32 id_) : id{static_cast<u64>(id_)} {}