Skip to content

Commit

Permalink
Update OSExec.c
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Aug 2, 2024
1 parent ac3b4d2 commit b8336e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/RVL_SDK/src/revolution/os/OSExec.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static s32 _ES_GetTicketViews(s32* fd, u64 tid, void* pViews, u32* count) {
pVectors[1].length = sizeof(u32);

result =
IOS_Ioctlv(*fd, ES_IOCTLV_GET_NUM_TICKET_VIEWS, 1, 1, pVectors);
IOS_Ioctlv(*fd, IPC_IOCTLV_GET_NUM_TICKET_VIEWS, 1, 1, pVectors);
if (result == IPC_RESULT_OK) {
*count = *pCount;
}
Expand All @@ -129,7 +129,7 @@ static s32 _ES_GetTicketViews(s32* fd, u64 tid, void* pViews, u32* count) {
pVectors[1].length = sizeof(u32);
pVectors[2].base = pViews;
pVectors[2].length = *count * TICKET_VIEW_SIZE;
return IOS_Ioctlv(*fd, ES_IOCTLV_GET_TICKET_VIEWS, 2, 1, pVectors);
return IOS_Ioctlv(*fd, IPC_IOCTLV_GET_TICKET_VIEWS, 2, 1, pVectors);
}

static s32 _ES_LaunchTitle(s32* fd, u64 tid, void* pViews) {
Expand All @@ -154,5 +154,5 @@ static s32 _ES_LaunchTitle(s32* fd, u64 tid, void* pViews) {
pVectors[1].base = pViews;
pVectors[1].length = TICKET_VIEW_SIZE;

return IOS_IoctlvReboot(*fd, ES_IOCTLV_LAUNCH_TITLE, 2, 0, pVectors);
return IOS_IoctlvReboot(*fd, IPC_IOCTLV_LAUNCH_TITLE, 2, 0, pVectors);
}

0 comments on commit b8336e5

Please sign in to comment.