Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Documented somewhat large amounts of code, largely based off the S&K disassembly #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GabrielRavier
Copy link
Contributor

@GabrielRavier GabrielRavier commented Jun 19, 2023

This is basically an attempt at salvaging what can be saved from the very old broken PR at #25

@GabrielRavier GabrielRavier changed the title Documented large amounts of code, largely based off the S&K disassembly Documented somewhat large amounts of code, largely based off the S&K disassembly Jun 19, 2023
@GabrielRavier
Copy link
Contributor Author

GabrielRavier commented Jun 19, 2023

Btw, I'll also try to salvage the labeling changes I didn't take from #25 (mostly to be conservative and make sure this PR can be as simple as possible) into another PR based off this one later - this PR should be fine as is afaik, though

@Brainulator9
Copy link
Contributor

I'm not sure I agree with the existence of the "doNothingForAWhileIfPALSystem" and "waitUntilHBlank" macros; they only appear 3 and 2 times, respectively, and the repetition of their underlying code seems to be the result of copy-pasting.

@GabrielRavier
Copy link
Contributor Author

GabrielRavier commented Jun 19, 2023

Hmmm, makes sense - I've actually had this half-finished on my hard drive for a year or so and I don't even really remember why I made the macros in the first place, and if I forgot the rationale, it's likely just that I came up with it at 4AM or something without any compelling reason in retrospect. Will force-push with the macros taken out ASAP, do tell me if there's anything else bad in the PR.

@GabrielRavier GabrielRavier force-pushed the feat/salvage-github-pr-25 branch from 4dd29d8 to df50686 Compare June 22, 2023 16:38
Note: most of this is what I managed to salvage from the complete mess known as sonicretro#25
@GabrielRavier GabrielRavier force-pushed the feat/salvage-github-pr-25 branch from df50686 to 62d553f Compare June 22, 2023 16:41
@GabrielRavier
Copy link
Contributor Author

GabrielRavier commented Jun 22, 2023

Pushed new version without the macros - @Brainulator9 are there any other outstanding issues ?

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

Successfully merging this pull request may close these issues.

2 participants