Improve sceNpDrmVerifyUpgradeLicense(2), sceNpDrmIsAvailable(2)

* sceNpDrmVerifyUpgradeLicense(2): copied string from content_id is 47 chars in length at max, is no null term was found it forces string termiation.
* sceNpDrmIsAvailable(2): Same with drm path just that it's 256 chars at max.
This commit is contained in:
Eladash 2020-02-28 08:20:37 +02:00 committed by Ivan
parent 65eeee0f4c
commit 05bb6e1545
2 changed files with 25 additions and 15 deletions

View file

@ -298,7 +298,7 @@ error_code cellGameDataGetSizeKB(vm::ptr<u32> size)
if (fs::exists(local_dir))
{
cellGame.error("cellGameDataGetSizeKB: Unknown failure on calculating directory '%s' size (%s)", local_dir, error);
cellGame.error("cellGameDataGetSizeKB(): Unknown failure on calculating directory '%s' size (%s)", local_dir, error);
}
return CELL_GAMEDATA_ERROR_FAILURE;