yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::anonymous_namespace{rom.cc} Namespace Reference

Functions

void MaybeStripSmcHeader (std::vector< uint8_t > &rom_data, unsigned long &size)
 

Variables

constexpr size_t kBaseRomSize = 1048576
 Standard SNES ROM size for The Legend of Zelda: A Link to the Past (1MB)
 
constexpr size_t kHeaderSize = 0x200
 Size of the optional SMC/SFC copier header that some ROM dumps include.
 

Function Documentation

◆ MaybeStripSmcHeader()

void yaze::anonymous_namespace{rom.cc}::MaybeStripSmcHeader ( std::vector< uint8_t > & rom_data,
unsigned long & size )

Definition at line 50 of file rom.cc.

References kBaseRomSize, kHeaderSize, LOG_INFO, and MaybeStripSmcHeader().

Referenced by MaybeStripSmcHeader().

Here is the call graph for this function:

Variable Documentation

◆ kBaseRomSize

constexpr size_t yaze::anonymous_namespace{rom.cc}::kBaseRomSize = 1048576
constexpr

Standard SNES ROM size for The Legend of Zelda: A Link to the Past (1MB)

Definition at line 41 of file rom.cc.

Referenced by MaybeStripSmcHeader().

◆ kHeaderSize

constexpr size_t yaze::anonymous_namespace{rom.cc}::kHeaderSize = 0x200
constexpr

Size of the optional SMC/SFC copier header that some ROM dumps include.

Definition at line 44 of file rom.cc.

Referenced by MaybeStripSmcHeader().