From 02dbb2ed54a51056f63355be019956fe02793459 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 20 Mar 2022 00:48:02 -0700 Subject: [PATCH] hle: vi: NativeWindow: Fix trivially copyable issues. --- src/core/hle/service/vi/vi.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index e49e1ae28..430cbc546 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -68,11 +68,11 @@ private: const u32 magic = 2; const u32 process_id = 1; const u32 id; - const INSERT_PADDING_WORDS(3); - const std::array dispdrv = {'d', 'i', 's', 'p', 'd', 'r', 'v', '\0'}; - const INSERT_PADDING_WORDS(2); + INSERT_PADDING_WORDS(3); + std::array dispdrv = {'d', 'i', 's', 'p', 'd', 'r', 'v', '\0'}; + INSERT_PADDING_WORDS(2); }; -static_assert(sizeof(NativeWindow) == 0x28, "ParcelData has wrong size"); +static_assert(sizeof(NativeWindow) == 0x28, "NativeWindow has wrong size"); class IHOSBinderDriver final : public ServiceFramework { public: