summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-21 00:40:50 +0100
committerLioncash <mathew1800@gmail.com>2018-11-21 00:40:53 +0100
commit820bcee6a4fc70843257ebaaef15e0657b1d4609 (patch)
tree447eb4d6858acf28ce8cb2be5d4e9cb3b4e20391 /src
parentMerge pull request #1667 from DarkLordZach/swkbd (diff)
downloadyuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar.gz
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar.bz2
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar.lz
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar.xz
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.tar.zst
yuzu-820bcee6a4fc70843257ebaaef15e0657b1d4609.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/card_image.h13
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.");