From febbf32fb9a6bca34e4e3d423b1b674eacc2c326 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Sun, 15 Sep 2024 16:46:21 +0200 Subject: [PATCH 1/2] Update stubdrm.cpp Adding new detection for Metal Slug 3 --- tools/steamclient_loader/win/extra_protection/stubdrm.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/steamclient_loader/win/extra_protection/stubdrm.cpp b/tools/steamclient_loader/win/extra_protection/stubdrm.cpp index d94cb4a4..846f1d26 100644 --- a/tools/steamclient_loader/win/extra_protection/stubdrm.cpp +++ b/tools/steamclient_loader/win/extra_protection/stubdrm.cpp @@ -104,6 +104,10 @@ typedef struct SnrDetails { "F6 C? 02 89 ?? ?? ?? ?? ?? A3 ?? ?? ?? ?? 0F 85", "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 90 E9 00 03 00 00", }, +     { +         "F6 05 ?? ?? ?? ?? 02 89 ?? ?? 0F 85 ?? ?? ?? ?? 5? FF ?? 6?", +         "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 90 E9 03 03", +     }, }, }, From addfd887823256be9afc34ccc2160fdcd1e40f3e Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Sun, 15 Sep 2024 17:14:00 +0200 Subject: [PATCH 2/2] fixing wrong indent (tabs) --- tools/steamclient_loader/win/extra_protection/stubdrm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/steamclient_loader/win/extra_protection/stubdrm.cpp b/tools/steamclient_loader/win/extra_protection/stubdrm.cpp index 846f1d26..5b0481ef 100644 --- a/tools/steamclient_loader/win/extra_protection/stubdrm.cpp +++ b/tools/steamclient_loader/win/extra_protection/stubdrm.cpp @@ -104,10 +104,10 @@ typedef struct SnrDetails { "F6 C? 02 89 ?? ?? ?? ?? ?? A3 ?? ?? ?? ?? 0F 85", "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 90 E9 00 03 00 00", }, -     { -         "F6 05 ?? ?? ?? ?? 02 89 ?? ?? 0F 85 ?? ?? ?? ?? 5? FF ?? 6?", -         "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 90 E9 03 03", -     }, + { + "F6 05 ?? ?? ?? ?? 02 89 ?? ?? 0F 85 ?? ?? ?? ?? 5? FF ?? 6?", + "?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 90 E9 03 03", + }, }, },