libeditwl
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
twl::fmt::ROM::Header Struct Reference

Public Member Functions

std::string GetGameTitle ()
 
void SetGameTitle (const std::string &game_title_str)
 
std::string GetGameCode ()
 
void SetGameCode (const std::string &game_code_str)
 
std::string GetDeveloperCode ()
 
void SetDeveloperCode (const std::string &dev_code_str)
 

Public Attributes

char game_title [12]
 
char game_code [4]
 
char developer_code [2]
 
UnitCode unit_code
 
u8 encryption_seed_select
 
u8 device_capacity
 
u8 reserved_1 [7]
 
union { 
 
   u16   ndsi 
 
   struct { 
 
      u8   reserved 
 
      Region   region 
 
   }   nds 
 
game_revision 
 
u8 version
 
AutostartFlags autostart_flags
 
u32 arm9_rom_offset
 
u32 arm9_entry_address
 
u32 arm9_ram_address
 
u32 arm9_rom_size
 
u32 arm7_rom_offset
 
u32 arm7_entry_address
 
u32 arm7_ram_address
 
u32 arm7_rom_size
 
u32 fnt_offset
 
u32 fnt_size
 
u32 fat_offset
 
u32 fat_size
 
u32 arm9_overlay_table_offset
 
u32 arm9_overlay_table_size
 
u32 arm7_overlay_table_offset
 
u32 arm7_overlay_table_size
 
u32 normal_card_control_register_settings
 
u32 secure_card_control_register_settings
 
u32 banner_offset
 
u16 secure_area_crc
 
u16 secure_transfer_timeout
 
u32 arm9_autoload
 
u32 arm7_autoload
 
u64 secure_area_disable
 
u32 rom_size
 
u32 header_size
 
u8 reserved_2 [56]
 
u8 nintendo_logo [156]
 
u16 nintendo_logo_crc
 
u16 header_crc
 
u32 debug_rom_offset
 
u32 debug_rom_size
 
u32 debug_ram_address
 
u32 reserved_3
 
u8 reserved_4 [0x90]
 

The documentation for this struct was generated from the following file: