|
enum class | NDSRegion : u8 { Normal = 0x00
, Korea = 0x40
, China = 0x80
} |
|
enum class | UnitCode : u8 { NDS = 0x00
, NDS_NDSi = 0x02
, NDSi = 0x03
} |
|
|
| ROM (const ROM &)=delete |
|
bool | GetAlignmentBetweenFileData (size_t &out_align) override |
|
size_t | GetFatEntriesOffset () override |
|
size_t | GetFatEntryCount () override |
|
Result | OnFileSystemWrite (fs::BinaryFile &w_bf, const ssize_t size_diff) override |
|
Result | ValidateImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | ReadImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
virtual size_t | GetBaseOffset () |
|
Result | LookupFile (const std::string &path, NitroFile &out_file) const |
|
Result | GetName (const NitroEntryBase &entry, std::string &out_name) const |
|
Result | DoWithReadFile (std::function< Result(fs::BinaryFile &)> fn) const |
|
Result | SaveFileSystem () override |
|
std::string | GetExternalFsPath (const std::string &path) |
|
std::string | GetBasePath (const std::string &ext_fs_path) |
|
Result | WriteImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override |
|
Result | Validate (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None) |
|
Result | ReadFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None) |
|
Result | ReadCompressedFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle) |
|
Result | WriteTo (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle) |
|
Result | WriteTo (std::shared_ptr< fs::FileHandle > file_handle) |
|
|
static constexpr u32 | GameTitleLength = 128 |
|
◆ GetAlignmentBetweenFileData()
bool ntr::fmt::ROM::GetAlignmentBetweenFileData |
( |
size_t & | out_align | ) |
|
|
inlineoverridevirtual |
◆ GetFatEntriesOffset()
size_t ntr::fmt::ROM::GetFatEntriesOffset |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetFatEntryCount()
size_t ntr::fmt::ROM::GetFatEntryCount |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnFileSystemWrite()
◆ ReadImpl()
Result ntr::fmt::ROM::ReadImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
◆ ValidateImpl()
Result ntr::fmt::ROM::ValidateImpl |
( |
const std::string & | path, |
|
|
std::shared_ptr< fs::FileHandle > | file_handle, |
|
|
const fs::FileCompression | comp ) |
|
overridevirtual |
The documentation for this struct was generated from the following files:
- libnedit/include/ntr/fmt/fmt_ROM.hpp
- libnedit/source/ntr/fmt/fmt_ROM.cpp