diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-17 20:11:31 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-09-18 19:08:04 +0200 |
commit | dca36ebb871d55ca825bb0090949acb59f859f07 (patch) | |
tree | 3fe9611ae0e2686f49a902daa4871f3c368f600b /src/core/hle/service/mii/types | |
parent | service: mii: Implement the rest of the service (diff) | |
download | yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.gz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.bz2 yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.lz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.xz yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.tar.zst yuzu-dca36ebb871d55ca825bb0090949acb59f859f07.zip |
Diffstat (limited to 'src/core/hle/service/mii/types')
-rw-r--r-- | src/core/hle/service/mii/types/core_data.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/mii/types/store_data.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/types/core_data.h b/src/core/hle/service/mii/types/core_data.h index e6398f68f..8897e4f3b 100644 --- a/src/core/hle/service/mii/types/core_data.h +++ b/src/core/hle/service/mii/types/core_data.h @@ -214,5 +214,6 @@ private: Nickname name{}; }; static_assert(sizeof(CoreData) == 0x30, "CoreData has incorrect size."); +static_assert(std::is_trivially_copyable_v<CoreData>, "CoreData type must be trivially copyable."); }; // namespace Service::Mii diff --git a/src/core/hle/service/mii/types/store_data.h b/src/core/hle/service/mii/types/store_data.h index 38f534d26..ed5dfb949 100644 --- a/src/core/hle/service/mii/types/store_data.h +++ b/src/core/hle/service/mii/types/store_data.h @@ -138,6 +138,8 @@ private: u16 device_crc{}; }; static_assert(sizeof(StoreData) == 0x44, "StoreData has incorrect size."); +static_assert(std::is_trivially_copyable_v<StoreData>, + "StoreData type must be trivially copyable."); struct StoreDataElement { StoreData store_data{}; |