diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-21 01:10:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 01:10:55 +0100 |
commit | 58d82243f793f6b1ba37cf3175ecc71febb30061 (patch) | |
tree | 447eb4d6858acf28ce8cb2be5d4e9cb3b4e20391 | |
parent | Merge pull request #1667 from DarkLordZach/swkbd (diff) | |
parent | file_sys/card_image: Provide named members for the GamecardInfo struct (diff) | |
download | yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar.gz yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar.bz2 yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar.lz yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar.xz yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.tar.zst yuzu-58d82243f793f6b1ba37cf3175ecc71febb30061.zip |
-rw-r--r-- | src/core/file_sys/card_image.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h index 25f5914b6..a350496f7 100644 --- a/src/core/file_sys/card_image.h +++ b/src/core/file_sys/card_image.h @@ -32,7 +32,18 @@ enum class GamecardSize : u8 { }; 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."); |