mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
kernel: merge appInfo and appInfo2
This commit is contained in:
parent
20303c903d
commit
eaf15a0169
5 changed files with 27 additions and 45 deletions
|
|
@ -20,22 +20,10 @@ struct AppInfo {
|
|||
};
|
||||
static_assert(sizeof(AppInfo) == 72);
|
||||
|
||||
struct AppInfo2 {
|
||||
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;
|
||||
struct AppInfoEx : AppInfo {
|
||||
slong unk9;
|
||||
slong unk10;
|
||||
};
|
||||
|
||||
static_assert(sizeof(AppInfo2) == 88);
|
||||
static_assert(sizeof(AppInfoEx) == 88);
|
||||
} // namespace orbis
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ enum class FwType : std::uint8_t {
|
|||
Ps5,
|
||||
};
|
||||
|
||||
struct RcAppInfo : RcBase, AppInfo2 {
|
||||
struct RcAppInfo : RcBase, AppInfoEx {
|
||||
orbis::uint32_t appState = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -68,8 +68,7 @@ struct Process final {
|
|||
ptr<void> processParam = nullptr;
|
||||
uint64_t processParamSize = 0;
|
||||
const ProcessOps *ops = nullptr;
|
||||
AppInfo appInfo{};
|
||||
AppInfo2 appInfo2{};
|
||||
AppInfoEx appInfo{};
|
||||
AuthInfo authInfo{};
|
||||
kstring cwd;
|
||||
kstring root = "/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue