mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
@whereismyfoodat suggestions
This commit is contained in:
parent
c7693f77d4
commit
3a6dec3987
@ -51,7 +51,7 @@ void GenerateCodeFiles(
|
|||||||
headerFile.close();
|
headerFile.close();
|
||||||
|
|
||||||
std::string sourceName(lowModName + ".cpp");
|
std::string sourceName(lowModName + ".cpp");
|
||||||
std::string sourceCode("//Generated By moduleGenerator\n#include \"" + headerName +
|
std::string sourceCode("// Generated By moduleGenerator\n#include \"" + headerName +
|
||||||
"\"\n#include \"common/log.h\"\n#include \"error_codes.h\"\n\n");
|
"\"\n#include \"common/log.h\"\n#include \"error_codes.h\"\n\n");
|
||||||
|
|
||||||
sourceCode += "namespace Libraries::" + trimmedName + "{\n\n";
|
sourceCode += "namespace Libraries::" + trimmedName + "{\n\n";
|
||||||
@ -141,7 +141,7 @@ void GetSymbolsFromLibDoc(std::vector<std::string>& importModules) {
|
|||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
std::filesystem::path genFolder(MODULE_DIR);
|
std::filesystem::path genFolder(MODULE_DIR);
|
||||||
if (!std::filesystem::exists(genFolder)) {
|
if (!std::filesystem::exists(genFolder)) {
|
||||||
std::filesystem::create_directory(genFolder);
|
std::filesystem::create_directories(genFolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::string> modules_to_generate;
|
std::vector<std::string> modules_to_generate;
|
||||||
|
Loading…
Reference in New Issue
Block a user