#include "rom.h"#include <algorithm>#include <chrono>#include <cstddef>#include <cstdint>#include <cstring>#include <ctime>#include <filesystem>#include <fstream>#include <iostream>#include <new>#include <string>#include <vector>#include "absl/status/status.h"#include "absl/status/statusor.h"#include "absl/strings/str_cat.h"#include "absl/strings/str_format.h"#include "absl/strings/string_view.h"#include "app/gfx/types/snes_color.h"#include "app/gfx/types/snes_tile.h"#include "rom/write_fence.h"#include "util/hex.h"#include "util/log.h"#include "util/macro.h"#include <fcntl.h>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | yaze |
| namespace | yaze::anonymous_namespace{rom.cc} |
Functions | |
| void | yaze::anonymous_namespace{rom.cc}::MaybeStripSmcHeader (std::vector< uint8_t > &rom_data, unsigned long &size) |
| std::string | yaze::anonymous_namespace{rom.cc}::MakeSafeTimestamp (std::time_t now_c) |
| void | yaze::anonymous_namespace{rom.cc}::BestEffortFsyncFile (const std::filesystem::path &path) |
| void | yaze::anonymous_namespace{rom.cc}::BestEffortFsyncParentDir (const std::filesystem::path &file_path) |
Variables | |
| constexpr size_t | yaze::anonymous_namespace{rom.cc}::kBaseRomSize = 1048576 |
| Standard SNES ROM size for The Legend of Zelda: A Link to the Past (1MB) | |
| constexpr size_t | yaze::anonymous_namespace{rom.cc}::kHeaderSize = 0x200 |
| Size of the optional SMC/SFC copier header that some ROM dumps include. | |