-
Notifications
You must be signed in to change notification settings - Fork 7
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
Suggestion: "auto PROTECT" #5
Comments
Some clarifications/notes on the current """solutions""" we have to the problem:
Doesn't solve the problem (doesn't do anything meaningful at all even).
Would work but:
What I'm trying to allow is just doing something like this:
(While installing this hack before most of everything else). This would be to make sure the installed hack (especially hooks) doesn't conflict with anything else. |
This is kinda the next low-hanging fruit I'll tackle when I hack on ColorzCore again. |
something like
Everything written between
PROTECT_AUTO
andPROTECT_AUTO_OFF
would be "auto-protected" (as ifPROTECT
was used for each region of data that was written).The benefit of such feature would be to make protecting sequences of many "hooks" (
ORG p; xyz
) more easily feasible. The benefit of doing that would be to ease finding conflicts between modules (hacks) that hook into the original binary (ROM).I guess we could also get that benefit from doing that on a global scale (maybe through a command-line option that would disallow multiple writes to the same area?).
Of course regularPROTECT
needs to be fixed first.The text was updated successfully, but these errors were encountered: