diff options
author | GrapheneCt | 2020-06-11 23:56:27 -0400 |
---|---|---|
committer | Reiko Asakura | 2020-06-11 23:56:27 -0400 |
commit | 5c7d60c698c1b85d8365346af9a598396d02821a (patch) | |
tree | 104f25b0414641fdd3c2026a55aa15820bdba0d7 /include/user/notification_util.h | |
parent | Fix typo sceGxmGetRenderTargetMemSize (diff) | |
download | vds-libraries-5c7d60c698c1b85d8365346af9a598396d02821a.tar.gz |
notification_util.h: update struct members
From https://github.com/GrapheneCt/Vita-PoC/blob/master/notificationutil.h
Diffstat (limited to 'include/user/notification_util.h')
-rw-r--r-- | include/user/notification_util.h | 19 |
1 files changed, 10 insertions, 9 deletions
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; /** |