mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
Loader/ips: Fix more bugs, now works with simple test on hw.
This commit is contained in:
parent
08275240c6
commit
674a91db8c
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue