From 5c7d60c698c1b85d8365346af9a598396d02821a Mon Sep 17 00:00:00 2001 From: GrapheneCt Date: Thu, 11 Jun 2020 23:56:27 -0400 Subject: notification_util.h: update struct members From https://github.com/GrapheneCt/Vita-PoC/blob/master/notificationutil.h --- include/user/notification_util.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'include/user/notification_util.h') diff --git a/include/user/notification_util.h b/include/user/notification_util.h index f50ad3a..e9a5298 100644 --- a/include/user/notification_util.h +++ b/include/user/notification_util.h @@ -18,24 +18,25 @@ extern "C" { typedef void (*SceNotificationUtilProgressEventHandler)(SceUInt32 eventId); typedef struct SceNotificationUtilProgressInitParam { - SceWChar16 notificationText[0x273]; - SceInt16 separator0; // must be 0 + SceWChar16 notificationText[0x40]; // must be null-terminated + SceWChar16 notificationSubText[0x40]; // must be null-terminated + SceChar8 unk[0x3E6]; SceNotificationUtilProgressEventHandler eventHandler; SceInt32 unk_4EC; // can be set to 0 - SceWChar16 cancelDialogText[0x3E]; - SceInt16 separator1; // must be 0 + SceWChar16 cancelDialogText[0x40]; // must be null-terminated } SceNotificationUtilProgressInitParam; typedef struct SceNotificationUtilProgressUpdateParam { - SceWChar16 notificationText[0x7E]; - SceInt16 separator0; //must be 0 + SceWChar16 notificationText[0x40]; // must be null-terminated + SceWChar16 notificationSubText[0x40]; // must be null-terminated SceFloat targetProgress; - SceChar8 reserved[0x3C]; + SceChar8 reserved[0x38]; } SceNotificationUtilProgressUpdateParam; typedef struct SceNotificationUtilProgressFinishParam { - SceWChar16 notificationText[0x273]; - SceInt16 separator0; //must be 0 + SceWChar16 notificationText[0x40]; // must be null-terminated + SceWChar16 notificationSubText[0x40]; // must be null-terminated + SceChar8 path[0x3E8]; } SceNotificationUtilProgressFinishParam; /** -- cgit v1.2.3