From 07b0a569e6df853f1a6b5ee3d8c2463fb87864d8 Mon Sep 17 00:00:00 2001 From: Aaron M Date: Wed, 2 Sep 2020 17:50:48 +1200 Subject: [PATCH] . --- DllMain.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/DllMain.cpp b/DllMain.cpp index 08fb03a..7519e12 100644 --- a/DllMain.cpp +++ b/DllMain.cpp @@ -3294,20 +3294,12 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReasonForCall, LPVOID lpReserved) if (haptic) { - SDL_HapticClose(haptic); // release the haptic device / clean-up. - static char test[256]; - memset(test, 0, 256); - sprintf(test, "haptic clean up", ""); - OutputDebugStringA(test); + SDL_HapticClose(haptic); } if (haptic2) { SDL_HapticClose(haptic2); - static char test[256]; - memset(test, 0, 256); - sprintf(test, "haptic2 clean up", ""); - OutputDebugStringA(test); } if (haptic3)