libeditwl
Lightweight C++ library for Nintendo DS(i) formats
|
Classes | |
struct | Banner |
struct | Header |
struct | NitroFooter |
struct | OverlayTableEntry |
struct | StartModuleParams |
Public Member Functions | |
ROM (const ROM &)=delete | |
ROM (ROM &&)=default | |
Result | ReadValidateFrom (fs::File &rf) override |
Result | ReadAllFrom (fs::File &rf) override |
Result | WriteTo (fs::File &wf) override |
Result | CreateOverlayFile (nfs::NitroFileSystemFile &file, const OverlayTableEntry &entry) |
Public Member Functions inherited from twl::fs::FileFormat | |
Result | ReadFrom (File &rf) |
Public Member Functions inherited from twl::fmt::nfs::NitroFileSystemFormat | |
Result | CreateFileById (NitroFileSystemFile &file, const u32 file_id) |
Result | CreateFileByPath (NitroFileSystemFile &file, const std::string &path) |
Public Attributes | |
Header | header |
Banner | banner |
std::vector< std::string > | lib_symbols |
fs::BufferReaderWriter | arm7_rw |
fs::BufferReaderWriter | arm9_rw |
std::optional< NitroFooter > | footer |
std::optional< StartModuleParams > | start_module_params |
std::vector< OverlayTableEntry > | arm7_ovl_table |
std::vector< OverlayTableEntry > | arm9_ovl_table |
Static Public Attributes | |
static constexpr u32 | GameTitleLength = 128 |
static constexpr size_t | SectionAlignment = 0x200 |
Additional Inherited Members | |
Protected Attributes inherited from twl::fmt::nfs::NitroFileSystemFormat | |
NitroFileSystem | nitro_fs |
Implements twl::fs::FileFormat.
Implements twl::fs::FileFormat.
Implements twl::fs::FileFormat.