From 422764e0779b467909cd1924547ea5f68b2451f0 Mon Sep 17 00:00:00 2001 From: chinhodado Date: Sun, 14 Dec 2014 23:59:55 -0500 Subject: [PATCH] Remove an unnecessary memcpy --- Core/ELF/PrxDecrypter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Core/ELF/PrxDecrypter.cpp b/Core/ELF/PrxDecrypter.cpp index c40ae15265..6e469c9fb6 100644 --- a/Core/ELF/PrxDecrypter.cpp +++ b/Core/ELF/PrxDecrypter.cpp @@ -738,7 +738,6 @@ static int DecryptPRX2(const u8 *inbuf, u8 *outbuf, u32 size, u32 tag) memcpy(outbuf+0xB0, outbuf+0xC0, 0x10); memset(outbuf+0xC0, 0, 0x10); - memcpy(outbuf+0xD0, outbuf+0xD0, 0x80); // The real decryption if (sceUtilsBufferCopyWithRange(outbuf, size, outbuf + 0x40, size - 0x40, 0x1) != 0)