We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In function loadTitleLocaleConfig of patcher.c this code doesn’t seem to work as intended:
if (buf[11] >= '0' && buf[11] <= '9') *stateId += buf[11] - '0'; else if(buf[11] >= 'a' && buf[11] <= 'f') *stateId += buf[11] - 'a'; else if(buf[11] >= 'A' && buf[11] <= 'F') *stateId += buf[11] - 'A';
Input of "2E" gets parsed to 0x24 instead of 0x2E.
I have no dev environment set up, but I think this would fix it:
if (buf[11] >= '0' && buf[11] <= '9') *stateId += buf[11] - '0'; else if(buf[11] >= 'a' && buf[11] <= 'f') *stateId += buf[11] - 'a' + 10; else if(buf[11] >= 'A' && buf[11] <= 'F') *stateId += buf[11] - 'A' + 10;
Same with buf[10] of course.
The text was updated successfully, but these errors were encountered:
Thanks for the report, I'll fix it
Sorry, something went wrong.
55d5121
Fix #1375 properly this time
0543c20
Thanks @muhmuhten
Fix hex parsing in patcher.c (langemu). Fixes LumaTeam#1375
f7747ab
Thanks @Lizardon1
Fix LumaTeam#1375 properly this time
c86081c
No branches or pull requests
In function loadTitleLocaleConfig of patcher.c this code doesn’t seem to work as intended:
Input of "2E" gets parsed to 0x24 instead of 0x2E.
I have no dev environment set up, but I think this would fix it:
Same with buf[10] of course.
The text was updated successfully, but these errors were encountered: