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

Merge pull request #1 from doomertheboomer/master

Fix crashing when at the end of time attack by patching a jump
This commit is contained in:
Rin 2022-07-13 07:58:13 +01:00 committed by GitHub
commit f67b945303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,8 +429,8 @@ extern int* ffbOffset4;
typedef INT (WSAAPI* WsaStringToAddressA_t)(LPSTR, INT, LPWSAPROTOCOL_INFOA, LPSOCKADDR, LPINT);
static WsaStringToAddressA_t gWsaStringToAddressA;
#define LOCAL_IP "192.168.0.109"
#define ROUTER_IP "192.168.0.1"
#define LOCAL_IP "192.168.100.10"
#define ROUTER_IP "192.168.100.1"
#define LOCALHOST "127.0.0.1"
static INT WSAAPI Hook_WsaStringToAddressA(
@ -886,6 +886,9 @@ static InitFunction Wmmt6Func([]()
// Fix dongle error (can be triggered by various USB hubs, dongles
injector::MakeNOP(imageBase + 0x8C140F, 2, true);
//Fix crash when saving story mode and Time attack, if the error isn't handled then it doesnt crash?????
injector::WriteMemory<uint8_t>(imageBase + 0x8A6B5F, 0xEB, true);
// Save story stuff (only 05)
{
/*