move disable debug cursor patch to patches

now it doesn't rely on checking for a separate patch that could change (break things)
This commit is contained in:
somewhatlurker
2019-10-14 02:37:09 +11:00
parent b730916e62
commit 57e7392b8d
2 changed files with 2 additions and 7 deletions
@@ -166,12 +166,6 @@ namespace TLAC::Components
for (size_t i = 0; i < _countof(patches); i++)
InjectCode(patches[i].Address, patches[i].Data);
if (*(int*)0x000000014019341B == 0x00)
{
// Disable debug cursor
InjectCode((void*)0x00000001403012b5, { 0xeb });
}
}
void DebugComponent::SetConsoleForeground()