Skip to content

Commit

Permalink
Fix ScePsmDrmLicense instead of SceNpDrmLicense
Browse files Browse the repository at this point in the history
  • Loading branch information
LiEnby committed Aug 9, 2024
1 parent 4e71a72 commit 25ec186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/psp2kern/npdrm.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int ksceNpDrmCheckActData(int *act_type, int *version_flag, SceUInt64 *account_i
*
* @return 0 on success, < 0 on error.
*/
int ksceNpDrmGetRifVitaKey(const ScePsmDrmLicense *license, void *klicense, int *flags, int *sku_flags, SceUInt64 *lic_start_time, SceUInt64 *lic_exp_time);
int ksceNpDrmGetRifVitaKey(const SceNpDrmLicense *license, void *klicense, int *flags, int *sku_flags, SceUInt64 *lic_start_time, SceUInt64 *lic_exp_time);

/**
* Get license key info for a PSP game
Expand All @@ -81,7 +81,7 @@ int ksceNpDrmGetRifVitaKey(const ScePsmDrmLicense *license, void *klicense, int
*
* @return 0 on success, < 0 on error.
*/
int ksceNpDrmGetRifPspKey(const ScePsmDrmLicense *license, void *klicense, int *flags, SceUInt64 *lic_start_time, SceUInt64 *lic_exp_time);
int ksceNpDrmGetRifPspKey(const SceNpDrmLicense *license, void *klicense, int *flags, SceUInt64 *lic_start_time, SceUInt64 *lic_exp_time);

/**
* Get license info
Expand All @@ -101,7 +101,7 @@ int ksceNpDrmGetRifPspKey(const ScePsmDrmLicense *license, void *klicense, int *
*
* @return 0 on success, < 0 on error.
*/
int ksceNpDrmGetRifInfo(const ScePsmDrmLicense *license, SceSize license_size, int check_sign, char *content_id, SceUInt64 *account_id, int *license_version, int *license_flags, int *flags, int *sku_flags, SceInt64 *lic_start_time, SceInt64 *lic_exp_time, SceUInt64 *flags2);
int ksceNpDrmGetRifInfo(const SceNpDrmLicense *license, SceSize license_size, int check_sign, char *content_id, SceUInt64 *account_id, int *license_version, int *license_flags, int *flags, int *sku_flags, SceInt64 *lic_start_time, SceInt64 *lic_exp_time, SceUInt64 *flags2);

/**
* Verify a eboot.pbp signature "__sce_ebootpbp"
Expand Down

0 comments on commit 25ec186

Please sign in to comment.