forked from RPCSX/rpcsx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'RPCSX:master' into devel
- Loading branch information
Showing
13 changed files
with
342 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
#include "orbis-config.hpp" | ||
|
||
namespace orbis { | ||
struct AppInfo { | ||
uint32_t appId; | ||
uint32_t unk0; | ||
uint32_t unk1; | ||
uint32_t appType; | ||
char titleId[10]; | ||
uint16_t unk2; | ||
uint32_t unk3; | ||
slong unk4; | ||
slong unk5; | ||
slong unk6; | ||
slong unk7; | ||
slong unk8; | ||
}; | ||
static_assert(sizeof(AppInfo) == 72); | ||
} // namespace orbis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#include "sys/sysproto.hpp" | ||
#include "utils/Logs.hpp" | ||
#include <pipe.hpp> | ||
|
||
orbis::SysResult orbis::sys_pipe(Thread *thread) { | ||
auto pipe = createPipe(); | ||
thread->retval[0] = thread->tproc->fileDescriptors.insert(pipe); | ||
thread->retval[1] = thread->tproc->fileDescriptors.insert(pipe); | ||
auto fd0 = thread->tproc->fileDescriptors.insert(pipe); | ||
auto fd1 = thread->tproc->fileDescriptors.insert(pipe); | ||
ORBIS_LOG_ERROR(__FUNCTION__, fd0, fd1); | ||
thread->retval[0] = fd0; | ||
thread->retval[1] = fd1; | ||
return {}; | ||
} |
Oops, something went wrong.