From 85cfa5cba61a925d702c4cd1262dd8e3fc632527 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 2 May 2020 18:26:58 +0100 Subject: [PATCH] loader: enable secureinfo patch on safe_firm --- sysmodules/loader/source/patcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/loader/source/patcher.c b/sysmodules/loader/source/patcher.c index 53e798f..388710d 100644 --- a/sysmodules/loader/source/patcher.c +++ b/sysmodules/loader/source/patcher.c @@ -740,7 +740,7 @@ void patchCode(u64 progId, u16 progVer, u8 *code, u32 size, u32 textSize, u32 ro } } - else if(progId == 0x0004013000001702LL) //CFG + else if((progId & ~0xF0000001ULL) == 0x0004013000001702LL) //CFG, SAFE_MODE CFG { static const u8 pattern[] = { 0x06, 0x46, 0x10, 0x48