mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 11:20:42 +01:00
Exports must be in alphabetical order because loader.elf uses binary search
This commit is contained in:
parent
17a83000e0
commit
93730269e8
@ -144,6 +144,10 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Exports must be in alphabetical order because loader.elf uses binary search
|
||||||
|
std::sort(funcExports.begin(), funcExports.end());
|
||||||
|
std::sort(dataExports.begin(), dataExports.end());
|
||||||
|
|
||||||
{
|
{
|
||||||
std::ofstream out;
|
std::ofstream out;
|
||||||
out.open(argv[2]);
|
out.open(argv[2]);
|
||||||
|
Loading…
Reference in New Issue
Block a user