Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Dec 7, 2024
1 parent eaf15a0 commit 2d5f00e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rpcsx/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ static void usage(const char *argv0) {
static orbis::SysResult launchDaemon(orbis::Thread *thread, std::string path,
std::vector<std::string> argv,
std::vector<std::string> envv,
orbis::AppInfo appInfo) {
orbis::AppInfoEx appInfo) {
auto childPid = orbis::g_context.allocatePid() * 10000 + 1;
auto flag = orbis::knew<std::atomic<bool>>();
*flag = false;
Expand Down Expand Up @@ -1035,9 +1035,9 @@ int main(int argc, const char *argv[]) {
initProcess->onSysExit = onSysExit;
initProcess->ops = &rx::procOpsTable;
initProcess->hostPid = ::getpid();
initProcess->appInfo = {
initProcess->appInfo = {{
.unk4 = (isSystem ? orbis::slong(0x80000000'00000000) : 0),
};
}};

if (isSystem) {
orbis::g_context.safeMode = isSafeMode ? 1 : 0;
Expand Down Expand Up @@ -1210,10 +1210,10 @@ int main(int argc, const char *argv[]) {
if (!enableAudioIpmi) {
launchDaemon(mainThread, "/system/sys/orbis_audiod.elf",
{"/system/sys/orbis_audiod.elf"}, {},
{
{{
.titleId = {"NPXS20973"},
.unk4 = orbis::slong(0x80000000'00000000),
});
}});
// confirmed to work and known method of initialization since 5.05
// version
if (orbis::g_context.fwType != orbis::FwType::Ps5 &&
Expand Down

0 comments on commit 2d5f00e

Please sign in to comment.