mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
cellPngEnc
This commit is contained in:
parent
84a785ea67
commit
cb0ecb2afb
3 changed files with 178 additions and 29 deletions
|
|
@ -727,7 +727,7 @@ error_code cellHttpUtilFormUrlDecode(vm::ptr<u8> out, u32 size, vm::cptr<char> i
|
|||
return CELL_HTTP_UTIL_ERROR_INVALID_URI;
|
||||
}
|
||||
|
||||
const auto FUN_00036710 = [](b8 c)
|
||||
const auto check_char = [](b8 c)
|
||||
{
|
||||
u32 utmp = static_cast<u32>(c);
|
||||
s32 stmp = utmp - 48;
|
||||
|
|
@ -746,8 +746,8 @@ error_code cellHttpUtilFormUrlDecode(vm::ptr<u8> out, u32 size, vm::cptr<char> i
|
|||
return stmp;
|
||||
};
|
||||
|
||||
const s32 tmp1 = FUN_00036710(c2);
|
||||
const s32 tmp2 = FUN_00036710(c3);
|
||||
const s32 tmp1 = check_char(c2);
|
||||
const s32 tmp2 = check_char(c3);
|
||||
|
||||
if (tmp1 < 0 || tmp2 < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue