mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
[rpcsx-os] add --system flag
This commit is contained in:
parent
9865be85af
commit
563c5eaa2e
3 changed files with 10 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ struct Process final {
|
|||
|
||||
std::uint64_t nextTlsSlot = 1;
|
||||
std::uint64_t lastTlsOffset = 0;
|
||||
bool isSystem = false;
|
||||
|
||||
utils::RcIdMap<EventFlag, sint, 4097, 1> evfMap;
|
||||
utils::RcIdMap<Semaphore, sint, 4097, 1> semMap;
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ orbis::SysResult orbis::sys___sysctl(Thread *thread, ptr<sint> name,
|
|||
// std::printf(" kern.14.35.%u\n", name[3]);
|
||||
app_info result{
|
||||
.appType = 0,
|
||||
// .unk5 = slong(0x80000000'00000000),
|
||||
.unk5 = (thread->tproc->isSystem ? slong(0x80000000'00000000) : 0),
|
||||
};
|
||||
|
||||
return uwrite((ptr<app_info>)old, result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue