mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-30 10:14:24 -04:00
feat: now we generate header file for stub functions
This commit is contained in:
@@ -44,6 +44,7 @@ namespace ps2recomp
|
||||
bool shouldSkipFunction(const std::string &name) const;
|
||||
std::string generateRuntimeHeader();
|
||||
bool generateFunctionHeader();
|
||||
bool generateStubHeader();
|
||||
bool writeToFile(const std::string &path, const std::string &content);
|
||||
std::filesystem::path getOutputPath(const Function &function) const;
|
||||
};
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace ps2recomp
|
||||
bool singleFileOutput;
|
||||
std::vector<std::string> skipFunctions;
|
||||
std::unordered_map<uint32_t, std::string> patches;
|
||||
std::map<std::string, std::string> stubImplementations;
|
||||
std::vector<std::string> stubImplementations;
|
||||
};
|
||||
|
||||
} // namespace ps2recomp
|
||||
|
||||
Reference in New Issue
Block a user