Add HCA key for Digimon Story: Cyber Sleuth (PC); Add RSP ext. for The Simpsons: Road Rage (PS2)

This commit is contained in:
bxaimc 2020-07-08 18:43:33 -04:00
parent e114566be3
commit b21c4c2193
3 changed files with 6 additions and 1 deletions

View File

@ -395,6 +395,7 @@ static const char* extension_list[] = {
"rsd", "rsd",
"rsf", "rsf",
"rsm", "rsm",
"rsp",
"rstm", //fake extension/header id for .rstm (in bigfiles) "rstm", //fake extension/header id for .rstm (in bigfiles)
"rvws", "rvws",
"rwar", "rwar",

View File

@ -345,6 +345,10 @@ static const hcakey_info hcakey_list[] = {
/* Cardcaptor Sakura: Happiness Memories (Android) */ /* Cardcaptor Sakura: Happiness Memories (Android) */
{625144437747651}, // 00023890C8252FC3 {625144437747651}, // 00023890C8252FC3
/* Digimon Story: Cyber Sleuth (PC) */
{0x283553DCE3FD5FB9}, // 283553DCE3FD5FB9
}; };
#endif/*_HCA_KEYS_H_*/ #endif/*_HCA_KEYS_H_*/

View File

@ -13,7 +13,7 @@ VGMSTREAM * init_vgmstream_rsd(STREAMFILE *streamFile) {
/* checks */ /* checks */
if (!check_extensions(streamFile,"rsd")) if (!check_extensions(streamFile,"rsd,rsp"))
goto fail; goto fail;
if ((read_32bitBE(0x00,streamFile) & 0xFFFFFF00) != 0x52534400) /* "RSD\00" */ if ((read_32bitBE(0x00,streamFile) & 0xFFFFFF00) != 0x52534400) /* "RSD\00" */
goto fail; goto fail;