From f827e352c2e935f9718b876f20555f5e7df63932 Mon Sep 17 00:00:00 2001 From: Bobby Dilley Date: Wed, 21 Feb 2024 23:08:35 +0000 Subject: [PATCH] Remove patch for primevil --- src/lindbergh/lindbergh.c | 2 +- src/lindbergh/patch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lindbergh/lindbergh.c b/src/lindbergh/lindbergh.c index 7801214..9c8c042 100644 --- a/src/lindbergh/lindbergh.c +++ b/src/lindbergh/lindbergh.c @@ -8,7 +8,7 @@ #define PRELOAD_FILE_NAME "lindbergh.so" // List of all lindbergh executables known, not including the test executables -char *games[] = {"ramboM.elf", "vt3_Lindbergh", "hummer_Master.elf", "drive.elf", "chopperM.elf", "vsg", "Jennifer", "amiM.elf", "abc", "hod4M.elf", "lgj_final", "vt3", "id4.elf", "id5.elf", "lgjsp_app", "gsevo", "vf5", "apacheM.elf", "segaboot", "END"}; +char *games[] = {"main.exe", "ramboM.elf", "vt3_Lindbergh", "hummer_Master.elf", "drive.elf", "chopperM.elf", "vsg", "Jennifer", "amiM.elf", "abc", "hod4M.elf", "lgj_final", "vt3", "id4.elf", "id5.elf", "lgjsp_app", "gsevo", "vf5", "apacheM.elf", "segaboot", "END"}; /** * Tests if the game uses a seperate elf for test mode diff --git a/src/lindbergh/patch.c b/src/lindbergh/patch.c index 17d7e1e..93ac781 100644 --- a/src/lindbergh/patch.c +++ b/src/lindbergh/patch.c @@ -964,7 +964,7 @@ int initPatch() detourFunction(0x081400b5, amDipswGetData); detourFunction(0x0814012c, stubRetZero); patchMemory(0x08052cb2, "9090909090"); - patchMemory(0x0805206a, "00"); + //patchMemory(0x0805206a, "00"); // test // patchMemory(0x0804d8be, "909090909090909090909090909090"); // patchMemory(0x0804e5cf, "909090909090909090909090909090");