From 6bbae91ff30882930018098277a227505971b467 Mon Sep 17 00:00:00 2001 From: derole <38840902+derole1@users.noreply.github.com> Date: Wed, 5 May 2021 17:45:33 +0100 Subject: [PATCH] Fix 6MT warning upon NESYS login During log in with a NESYS key, the game displays a message while it tries to adjust the shifter mode. This should patch the message out so the message doesn't halt the game until it times out. --- OpenParrot/src/Functions/Games/TypeX2/TypeX2Generic.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenParrot/src/Functions/Games/TypeX2/TypeX2Generic.cpp b/OpenParrot/src/Functions/Games/TypeX2/TypeX2Generic.cpp index d3ad070..435bfbc 100644 --- a/OpenParrot/src/Functions/Games/TypeX2/TypeX2Generic.cpp +++ b/OpenParrot/src/Functions/Games/TypeX2/TypeX2Generic.cpp @@ -1195,6 +1195,9 @@ static InitFunction initFunction([]() injector::MakeNOP(imageBase + 0x1E799, 6); injector::MakeNOP(imageBase + 0x1E880, 6); injector::MakeNOP(imageBase + 0x27447, 3); + + // Fix 6MT warning upon key entry + injector::WriteMemoryRaw(imageBase + 0xD4AC3, "\xE9\x0E\x01\x00", 4, true); if (ToBool(config["General"]["Professional Edition Hold Gear"])) {