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)
 
std::string MakeSafeTimestamp (std::time_t now_c)
 
void BestEffortFsyncFile (const std::filesystem::path &path)
 
void BestEffortFsyncParentDir (const std::filesystem::path &file_path)
 

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 60 of file rom.cc.

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

Referenced by MaybeStripSmcHeader().

Here is the call graph for this function:

◆ MakeSafeTimestamp()

std::string yaze::anonymous_namespace{rom.cc}::MakeSafeTimestamp ( std::time_t now_c)

Definition at line 69 of file rom.cc.

References MakeSafeTimestamp().

Referenced by MakeSafeTimestamp().

Here is the call graph for this function:

◆ BestEffortFsyncFile()

void yaze::anonymous_namespace{rom.cc}::BestEffortFsyncFile ( const std::filesystem::path & path)

Definition at line 112 of file rom.cc.

References BestEffortFsyncFile().

Referenced by BestEffortFsyncFile().

Here is the call graph for this function:

◆ BestEffortFsyncParentDir()

void yaze::anonymous_namespace{rom.cc}::BestEffortFsyncParentDir ( const std::filesystem::path & file_path)

Definition at line 134 of file rom.cc.

References BestEffortFsyncParentDir().

Referenced by BestEffortFsyncParentDir().

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 51 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 54 of file rom.cc.

Referenced by MaybeStripSmcHeader().