mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
Loader/ips: Fix more bugs, now works with simple test on hw.
This commit is contained in:
parent
08275240c6
commit
674a91db8c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user