mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 05:23:59 +00:00
Named recompiled entry point
This commit is contained in:
@@ -29,6 +29,12 @@ int main(int argc, char* argv[])
|
||||
std::println("Analysing functions...");
|
||||
recompiler.Analyse();
|
||||
|
||||
auto entry = recompiler.image.symbols.find(recompiler.image.entry_point);
|
||||
if (entry != recompiler.image.symbols.end())
|
||||
{
|
||||
entry->name = "_xstart";
|
||||
}
|
||||
|
||||
recompiler.Recompile(argv[3]);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user