mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Edat / Sdata: On the fly decryption for edat, fix EDAT_FLAG_0x20 decryption
This commit is contained in:
parent
596db2c29c
commit
a6f8e4f6b3
7 changed files with 247 additions and 111 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// Auxiliary functions (endian swap, xor and prng).
|
||||
|
||||
void xor_key(unsigned char *dest, unsigned char *src1, unsigned char *src2)
|
||||
void xor_key(unsigned char *dest, const u8* src1, const u8* src2)
|
||||
{
|
||||
for(int i = 0; i < 0x10; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue