1
1
Fork 0
forked from suyu/suyu

hle: vi: NativeWindow: Fix trivially copyable issues.

This commit is contained in:
bunnei 2022-03-20 00:48:02 -07:00
parent c9d28c30f0
commit 02dbb2ed54

View file

@ -68,11 +68,11 @@ private:
const u32 magic = 2; const u32 magic = 2;
const u32 process_id = 1; const u32 process_id = 1;
const u32 id; const u32 id;
const INSERT_PADDING_WORDS(3); INSERT_PADDING_WORDS(3);
const std::array<u8, 8> dispdrv = {'d', 'i', 's', 'p', 'd', 'r', 'v', '\0'}; std::array<u8, 8> dispdrv = {'d', 'i', 's', 'p', 'd', 'r', 'v', '\0'};
const INSERT_PADDING_WORDS(2); 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<IHOSBinderDriver> { class IHOSBinderDriver final : public ServiceFramework<IHOSBinderDriver> {
public: public: