mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-10-07 03:43:54 +00:00
Set return value too
This commit is contained in:
parent
6d58b63d47
commit
97b29d394a
@ -20,8 +20,9 @@ __APICALL void setError_pthread(int);
|
||||
static int32_t POSIX_CALL(int32_t result) {
|
||||
if (result >= 0) return result;
|
||||
|
||||
setError_pthread(result - (int32_t)0x80020000);
|
||||
return -1;
|
||||
int res = result - (int32_t)0x80020000;
|
||||
setError_pthread(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
static int32_t POSIX_SET(ErrCode error) {
|
||||
@ -29,4 +30,4 @@ static int32_t POSIX_SET(ErrCode error) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
#undef __APICALL
|
||||
#undef __APICALL
|
||||
|
@ -1,9 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>psOff - PlayStation 4 Emulation (Windows)</title>
|
||||
</head>
|
||||
<body>
|
||||
In development
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user