Fix signature

This commit is contained in:
BenCat07 2020-01-01 02:37:39 +01:00
parent 0a6a0f81e9
commit 07ded23438

View File

@ -247,6 +247,7 @@ static void ReduceRamUsage()
* cannot play on error.mdl
*/
}
if (g_IBaseClient)
{
static BytePatch playSequence{ gSignatures.GetClientSignature, "55 89 E5 57 56 53 83 EC ? 8B 75 0C 8B 5D 08 85 F6 74 ? 83 BB", 0x00, { 0xC3 } };
@ -296,8 +297,7 @@ static InitRoutine nullifiy_textmode2([]() {
UnHookFs();
});
#if ENABLE_TEXTMODE
auto addr = gSignatures.GetEngineSignature("E8 ? ? ? ? C7 04 24 ? ? ? ? E8 ? ? ? ? C7 04 24 ? ? ? ? E8 ? ? ? ? E8 ? ? ? ?");
addr = e8call_direct(addr);
auto addr = gSignatures.GetEngineSignature("55 89 E5 57 56 53 81 EC ? ? ? ? C7 45 ? ? ? ? ? A1 ? ? ? ? C7 45 ? ? ? ? ? 8B 75 08 85 C0 0F 84 ? ? ? ? 8D 55 88 89 04 24 31 DB 89 54 24 04");
static BytePatch patch(addr, { 0x31, 0xc0, 0xc3 });
patch.Patch();
EC::Register(