Difference between revisions of "DLPSRVR:IsChild"

From 3dbrew
Jump to navigation Jump to search
m (→‎Description: Add missing check for 0x1)
m (→‎Description: Add missing check for 0x1)
 
(No difference)

Latest revision as of 23:16, 8 July 2024

Request[edit]

Index Word Description
0 Header code [0x000E0040]
1 Process ID

Response[edit]

Index Word Description
0 Header code
1 Result code
2 bool, is a DLP child

Description[edit]

This uses command FS:GetProgramLaunchInfo to get the title ID of the given process ID. Then it checks that (high_title_id & 0xFFFFC000 == 0x40000) && (high_title_id & 0xFFFF == 0x1) (in other words, the high title ID must match 0x40001). If it matches, then it returns true, otherwise it returns false.