1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-18 16:32:05 +00:00

Loader/ips: Fix more bugs, now works with simple test on hw.

This commit is contained in:
Michael Scire 2018-07-28 21:06:50 -07:00
parent 08275240c6
commit 674a91db8c

View file

@ -19,9 +19,9 @@ static inline u8 HexNybbleToU8(const char nybble) {
if ('0' <= nybble && nybble <= '9') {
return nybble - '0';
} else if ('a' <= nybble && nybble <= 'f') {
return nybble - 'a';
return nybble - 'a' + 0xa;
} else {
return nybble - 'A';
return nybble - 'A' + 0xA;
}
}