1
0
mirror of synced 2025-01-19 17:28:46 +01:00

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.
This commit is contained in:
derole 2021-05-05 17:45:33 +01:00 committed by GitHub
parent 282e19ae00
commit 6bbae91ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]))
{