From 2e19ea132b4464e5a18b86fc2d335ade26939d60 Mon Sep 17 00:00:00 2001 From: Luke Usher Date: Tue, 11 Jul 2017 08:47:36 +0100 Subject: [PATCH] Prevent the Windows timer resolution from being changed --- src/CxbxKrnl/EmuD3D8.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/CxbxKrnl/EmuD3D8.cpp b/src/CxbxKrnl/EmuD3D8.cpp index d8b75e7ee..d228be76f 100644 --- a/src/CxbxKrnl/EmuD3D8.cpp +++ b/src/CxbxKrnl/EmuD3D8.cpp @@ -1424,8 +1424,6 @@ static DWORD WINAPI EmuUpdateTickCount(LPVOID) DbgPrintf("EmuD3D8: Timing thread is running.\n"); - timeBeginPeriod(0); - // current vertical blank count int curvb = 0; @@ -1512,8 +1510,6 @@ static DWORD WINAPI EmuUpdateTickCount(LPVOID) g_SwapData.TimeBetweenSwapVBlanks = 0; } } - - timeEndPeriod(0); } // thread dedicated to create devices