mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #1749 from lioncash/gc-info
file_sys/card_image: Provide named members for the GamecardInfo struct
This commit is contained in:
commit
58d82243f7
@ -32,7 +32,18 @@ enum class GamecardSize : u8 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct GamecardInfo {
|
struct GamecardInfo {
|
||||||
std::array<u8, 0x70> data;
|
u64_le firmware_version;
|
||||||
|
u32_le access_control_flags;
|
||||||
|
u32_le read_wait_time1;
|
||||||
|
u32_le read_wait_time2;
|
||||||
|
u32_le write_wait_time1;
|
||||||
|
u32_le write_wait_time2;
|
||||||
|
u32_le firmware_mode;
|
||||||
|
u32_le cup_version;
|
||||||
|
std::array<u8, 4> reserved1;
|
||||||
|
u64_le update_partition_hash;
|
||||||
|
u64_le cup_id;
|
||||||
|
std::array<u8, 0x38> reserved2;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(GamecardInfo) == 0x70, "GamecardInfo has incorrect size.");
|
static_assert(sizeof(GamecardInfo) == 0x70, "GamecardInfo has incorrect size.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user