From 21497b523580cd03e2532a109f604cf2446e68db Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Mon, 5 Jun 2017 17:03:43 +0200 Subject: [PATCH] Patch unusual way of checking for firmware version. --- Core/HLE/scePauth.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HLE/scePauth.cpp b/Core/HLE/scePauth.cpp index 31ab599fa3..81dbb20e0d 100644 --- a/Core/HLE/scePauth.cpp +++ b/Core/HLE/scePauth.cpp @@ -71,7 +71,9 @@ static int scePauth_F7AA47F6(u32 srcPtr, int srcLength, u32 destLengthPtr, u32 w fwrite(key, 1, 16, fp); fclose(fp); - return -1; + // We failed decrypting and dumped encrypted files, some games like Idolmaster + // use this to check for firmware version, so let's still return no problem. + return 0; } static int scePauth_98B83B5D(u32 srcPtr, int srcLength, u32 destLengthPtr, u32 workArea)