pana_dvd: add 2013 china key and decrypt exclusion for VGD

This commit is contained in:
theubusu
2026-03-09 15:18:45 +01:00
parent 36704a01cf
commit 37b4578193
2 changed files with 8 additions and 2 deletions
+7 -2
View File
@@ -169,8 +169,13 @@ fn extract_file(app_ctx: &AppContext, file_reader: &mut Cursor<Vec<u8>>, header_
}
let data = common::read_exact(file_reader, module.size as usize)?;
println!("- Decrypting...");
let mut dec_data = decrypt_data(&data, &key);
let mut dec_data =if module.name() != "VGD " { //VGD is not encrypted?
println!("- Decrypting...");
decrypt_data(&data, &key)
} else {
data
};
if module.name().starts_with("DRV") {
println!("- Extracting DRIVE firmware...");