mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Attempt to add RomFS dumping
This commit is contained in:
parent
f9dc9ac94d
commit
abe4675477
10 changed files with 180 additions and 8 deletions
|
@ -18,5 +18,12 @@ namespace RomFS {
|
|||
std::vector<std::unique_ptr<RomFSNode>> files;
|
||||
};
|
||||
|
||||
// Result codes when dumping RomFS. These are used by the frontend to print appropriate error messages if RomFS dumping fails
|
||||
enum class DumpingResult {
|
||||
Success = 0,
|
||||
InvalidFormat = 1, // ROM is a format that doesn't support RomFS, such as ELF
|
||||
NoRomFS = 2
|
||||
};
|
||||
|
||||
std::unique_ptr<RomFSNode> parseRomFSTree(uintptr_t romFS, u64 romFSSize);
|
||||
} // namespace RomFS
|
Loading…
Add table
Add a link
Reference in a new issue