49 char developer_code[2];
51 u8 encryption_seed_select;
62 AutostartFlags autostart_flags;
64 u32 arm9_entry_address;
68 u32 arm7_entry_address;
75 u32 arm9_overlay_table_offset;
76 u32 arm9_overlay_table_size;
77 u32 arm7_overlay_table_offset;
78 u32 arm7_overlay_table_size;
79 u32 normal_card_control_register_settings;
80 u32 secure_card_control_register_settings;
83 u16 secure_transfer_timeout;
86 u64 secure_area_disable;
90 u8 nintendo_logo[156];
91 u16 nintendo_logo_crc;
95 u32 debug_ram_address;
101 inline std::string GetGameTitle() {
102 return util::GetNonNullTerminatedCString(this->game_title);
105 inline void SetGameTitle(
const std::string &game_title_str) {
106 return util::SetNonNullTerminatedCString(this->game_title, game_title_str);
109 inline std::string GetGameCode() {
110 return util::GetNonNullTerminatedCString(this->game_code);
113 inline void SetGameCode(
const std::string &game_code_str) {
114 return util::SetNonNullTerminatedCString(this->game_code, game_code_str);
117 inline std::string GetDeveloperCode() {
118 return util::GetNonNullTerminatedCString(this->developer_code);
121 inline void SetDeveloperCode(
const std::string &dev_code_str) {
122 return util::SetNonNullTerminatedCString(this->developer_code, dev_code_str);
134 u8 icon_chr[gfx::IconCharSize];
135 u8 icon_plt[gfx::IconPaletteSize];
136 char16_t game_titles[
static_cast<u32
>(Language::Count)][GameTitleLength];
138 inline std::u16string GetGameTitle(
const Language lang) {
139 if(lang < Language::Count) {
140 return util::GetNonNullTerminatedCString(this->game_titles[
static_cast<u32
>(lang)]);
145 inline void SetGameTitle(
const Language lang,
const std::u16string &game_title_str) {
146 if(lang < Language::Count) {
147 util::SetNonNullTerminatedCString(this->game_titles[
static_cast<u32
>(lang)], game_title_str);