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. | |
| 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().

| 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().

| 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().

| 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().

|
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().
|
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().