Add ADX key [428 (PS3)]

This commit is contained in:
bnnm 2020-04-22 00:21:13 +02:00
parent afecc953f3
commit 943ab00766
2 changed files with 5 additions and 2 deletions

View File

@ -261,11 +261,11 @@ static int find_adx_key(STREAMFILE *sf, uint8_t type, uint16_t *xor_start, uint1
/* try to find key in external file first */
{
uint8_t keybuf[0x20+1] = {0}; /* +1 extra null for keystrings */
uint8_t keybuf[0x40+1] = {0}; /* known max ~0x30, +1 extra null for keystrings */
size_t key_size;
/* handle type8 keystrings, key9 keycodes and derived keys too */
key_size = read_key_file(keybuf,0x20, sf);
key_size = read_key_file(keybuf, sizeof(keybuf), sf);
if (key_size > 0) {
int i, is_ascii = 0;

View File

@ -193,6 +193,9 @@ static const adxkey_info adxkey8_list[] = {
/* Katekyoo Hitman Reborn! Let's Ansatsu! Nerawareta 10-daime! (PS2) */
{0x5381,0x52E5,0x53E9, "REBHITMAN",0},
/* 428: Fuusasareta Shibuya de (PS3) */
{0x52ff,0x649f,0x448f, "hj1kviaqqdzUacryoacwmscfvwtlfkVbbbqpqmzqnbile2euljywazejgyxxvqlf",0},
};
static const adxkey_info adxkey9_list[] = {