diff options
author | german77 <juangerman-13@hotmail.com> | 2023-09-11 05:58:18 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-09-11 06:18:25 +0200 |
commit | 27929d7ca2b5fffc8866941d08cda921d586c45d (patch) | |
tree | 34b87648144aeed0ceb14b51afbdfa976a2aa35e /src/core/hle/service/mii/types/store_data.h | |
parent | service: mii: Move all raw data to it's file (diff) | |
download | yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar.gz yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar.bz2 yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar.lz yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar.xz yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.tar.zst yuzu-27929d7ca2b5fffc8866941d08cda921d586c45d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/mii/types/store_data.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/mii/types/store_data.h b/src/core/hle/service/mii/types/store_data.h new file mode 100644 index 000000000..54a263b05 --- /dev/null +++ b/src/core/hle/service/mii/types/store_data.h @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "core/hle/service/mii/mii_types.h" +#include "core/hle/service/mii/types/core_data.h" + +namespace Service::Mii { + +struct StoreData { + StoreData(); + StoreData(const Nickname& name, const StoreDataBitFields& bit_fields, + const Common::UUID& user_id); + + CoreData core_data{}; + Common::UUID create_id{}; + u16 data_crc{}; + u16 device_crc{}; +}; +static_assert(sizeof(StoreData) == 0x44, "StoreData has incorrect size."); + +struct StoreDataElement { + StoreData store_data{}; + Source source{}; +}; +static_assert(sizeof(StoreDataElement) == 0x48, "StoreDataElement has incorrect size."); + +}; // namespace Service::Mii |