Struct ds_rom::rom::HeaderOriginal
source · pub struct HeaderOriginal {
pub title: String,
pub gamecode: AsciiArray<4>,
pub makercode: AsciiArray<2>,
pub unitcode: u8,
pub seed_select: u8,
pub ds_flags: DsFlags,
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,
}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.
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).
Trait Implementations§
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 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