pub struct HeaderOriginal {Show 14 fields
pub title: String,
pub gamecode: AsciiArray<4>,
pub makercode: AsciiArray<2>,
pub unitcode: u8,
pub seed_select: u8,
pub ds_flags: DsFlags,
pub rom_version: u8,
pub autostart: u8,
pub normal_cmd_setting: u32,
pub key1_cmd_setting: u32,
pub secure_area_delay: Delay,
pub rom_nand_end: u16,
pub rw_nand_end: u16,
pub has_arm9_build_info_offset: bool,
}Expand description
Values for the original header version, HeaderVersion::Original.
Fields§
§title: StringShort game title, normally in uppercase letters.
gamecode: AsciiArray<4>4-character game code in uppercase letters.
makercode: AsciiArray<2>2-character maker code, normally “01”.
unitcode: u8Unit code, depends on which platform (DS, DSi) this game is for.
seed_select: u8Encryption seed select.
ds_flags: DsFlagsFlags for both DS and DSi.
rom_version: u8ROM version, usually zero.
autostart: u8Autostart, can skip “Health and Safety” screen.
normal_cmd_setting: u32Port 0x40001a4 setting for normal commands.
key1_cmd_setting: u32Port 0x40001a4 setting for KEY1 commands.
secure_area_delay: DelayDelay to wait for secure area.
rom_nand_end: u16NAND end of ROM area in multiples of 0x20000 (0x80000 on DSi).
rw_nand_end: u16NAND end of RW area in multiples of 0x20000 (0x80000 on DSi).
has_arm9_build_info_offset: boolWhether the header has the ARM9 build info offset.
Trait Implementations§
Source§impl Default for HeaderOriginal
impl Default for HeaderOriginal
Source§fn default() -> HeaderOriginal
fn default() -> HeaderOriginal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HeaderOriginal
impl<'de> Deserialize<'de> for HeaderOriginal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HeaderOriginal
impl RefUnwindSafe for HeaderOriginal
impl Send for HeaderOriginal
impl Sync for HeaderOriginal
impl Unpin for HeaderOriginal
impl UnsafeUnpin for HeaderOriginal
impl UnwindSafe for HeaderOriginal
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more