Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix function order #1677

Closed
67 tasks done
ghost opened this issue Sep 18, 2019 · 2 comments
Closed
67 tasks done

Fix function order #1677

ghost opened this issue Sep 18, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2019

As seen in the PSX symbol and the MAC release, some files have functions in a completely different order. It is apparent they are scrambled in the PC release with assertions where the line number is greater than functions that comes after it. In order to fix this, the functions must be put in the correct order and local functions set as static. This will allow removing tons of prototypes for functions only called locally.

All releases on the PC have scrambled function order except the August 1996 Demo. Otherwise we can also infer from any of the PSX symbols or MAC releases:

@qndel
Copy link
Member

qndel commented Nov 9, 2020

🎉

@galaxyhaxz
Copy link
Member

Glad to see someone took up the task to finish this. Now, just get the variables in the right order. But don't forget the maze it will be ;P

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants