From 21fe17573117c7236df868289edd78de7563c9bd Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Wed, 14 Aug 2019 00:24:25 +0200 Subject: [PATCH] Fix hide CREDIT(S) --- source-code/source/plugins/Patches/dllmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source-code/source/plugins/Patches/dllmain.cpp b/source-code/source/plugins/Patches/dllmain.cpp index 2283018..01482cb 100644 --- a/source-code/source/plugins/Patches/dllmain.cpp +++ b/source-code/source/plugins/Patches/dllmain.cpp @@ -139,12 +139,12 @@ void ApplyPatches() { printf("[Patches] Hide FREE PLAY/CREDIT(S) enabled\n"); } // Enable "FREE PLAY" mode - else if (nFreeplay) + if (nFreeplay || nHideFreeplay) { InjectCode((void*)0x00000001403BABEA, { 0x75 }); printf("[Patches] Show FREE PLAY instead of CREDIT(S)\n"); - if (nPDLoaderText) + if (nPDLoaderText && !nHideFreeplay) { InjectCode((void*)0x00000001409F61F0, { 0x50, 0x44, 0x20, 0x4C, 0x6F, 0x61, 0x64, 0x65, 0x72, 0x20, 0x41, 0x4C, 0x50, 0x48, 0x41}); printf("[Patches] Show PD Loader version\n");