diff --git a/source-code/source/plugins/Patches/dllmain.cpp b/source-code/source/plugins/Patches/dllmain.cpp index c94b4ae..d8d5130 100644 --- a/source-code/source/plugins/Patches/dllmain.cpp +++ b/source-code/source/plugins/Patches/dllmain.cpp @@ -175,7 +175,8 @@ void ApplyPatches() { // Use GLUT_CURSOR_RIGHT_ARROW instead of GLUT_CURSOR_NONE if (nCursor) { - InjectCode((void*)0x000000014019341B, { 0x00 }); + InjectCode((void*)0x000000014019341B, { 0x00 }); + InjectCode((void*)0x00000001403012b5, { 0xeb }); // Disable debug cursor printf("[Patches] Cursor enabled\n"); } // Override status icon states to be invalid (hides them) diff --git a/source-code/source/plugins/TLAC/Components/DebugComponent.cpp b/source-code/source/plugins/TLAC/Components/DebugComponent.cpp index 3ea6713..1719596 100644 --- a/source-code/source/plugins/TLAC/Components/DebugComponent.cpp +++ b/source-code/source/plugins/TLAC/Components/DebugComponent.cpp @@ -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()