feat: now we generate header file for stub functions

This commit is contained in:
Ran-j
2025-11-29 12:26:39 -03:00
parent cd2e7f4ea8
commit 4ea08199b0
5 changed files with 44 additions and 19 deletions
@@ -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;
};
+1 -1
View File
@@ -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