diff options
| author | AltoXorg <atrl101@yahoo.com> | 2024-04-19 12:02:37 +0800 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-20 10:25:02 -0600 |
| commit | fb9a018feb83cd0b9e7e4a1145c6e9e9252ae381 (patch) | |
| tree | 3bb0d899d7c4e23c263a1ec9a07ba95b33fe865c /src/Companion.h | |
| parent | 8abeb379e42af05adb1fef7a9625f37037b767d8 (diff) | |
individual data incs option
The option creates a similar way that is found in splat's gfx & vtx segment where it parses and outputs the data in their individual ".inc.c" files
Diffstat (limited to 'src/Companion.h')
| -rw-r--r-- | src/Companion.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Companion.h b/src/Companion.h index 5f31ae7..487cbac 100644 --- a/src/Companion.h +++ b/src/Companion.h @@ -53,6 +53,7 @@ struct VRAMEntry { }; struct WriteEntry { + std::string name; uint32_t addr; uint32_t alignment; std::string buffer; @@ -117,6 +118,7 @@ public: GBIMinorVersion GetGBIMinorVersion() const { return this->gConfig.gbi.subversion; } std::unordered_map<std::string, std::vector<YAML::Node>> GetCourseMetadata() { return this->gCourseMetadata; } std::optional<std::string> GetEnumFromValue(const std::string& key, int id); + bool IsSingleCodeFile() const { return this->gSingleCodeFile; } std::optional<ParseResultData> GetParseDataByAddr(uint32_t addr); std::optional<ParseResultData> GetParseDataBySymbol(const std::string& symbol); @@ -152,6 +154,7 @@ private: std::vector<uint8_t> gRomData; std::filesystem::path gRomPath; bool gNodeForceProcessing = false; + bool gSingleCodeFile = true; YAML::Node gHashNode; std::shared_ptr<N64::Cartridge> gCartridge; std::unordered_map<std::string, std::vector<YAML::Node>> gCourseMetadata; |
