fusee_cpp: implement ips patching of kips

This commit is contained in:
Michael Scire 2021-09-03 00:40:26 -07:00 committed by SciresM
parent 07779b787a
commit c5d021c172
7 changed files with 253 additions and 42 deletions

View file

@ -85,11 +85,11 @@ namespace ams::nxboot {
x <<= 4;
if ('0' <= c && c <= '9') {
x |= c - '0';
x |= (c - '0');
} else if ('a' <= c && c <= 'f') {
x |= c - 'a';
x |= (c - 'a') + 10;
} else if ('A' <= c && c <= 'F') {
x |= c - 'A';
x |= (c - 'A') + 10;
}
}
}