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

Fixes for romToBoot and readme.txt #1

Closed
wants to merge 2 commits into from
Closed

Fixes for romToBoot and readme.txt #1

wants to merge 2 commits into from

Conversation

riban-bw
Copy link
Contributor

@riban-bw riban-bw commented Jan 1, 2016

These two patches (each committed separately) correct a potential issue with detecting a good ROM and correct missing parameter in readme. Cheers!

@raburton
Copy link
Owner

raburton commented Jan 1, 2016

The value of romToBoot is checked after being decremented and if it is < 0 it loops back to the highest rom:
if (romToBoot < 0) romToBoot = romconf->count - 1;
Changing it to unsigned will prevent this check working and it will jump to rom 0xff instead of the highest actual rom.

Thanks for spotting the omission in the readme, I've fixed that.

@raburton raburton closed this Jan 1, 2016
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