Try to avoid race condition on startup, more work on limiting the scrolling speed

This commit is contained in:
Toni Spets 2010-11-05 17:45:32 +02:00
parent b6f989eeee
commit 5edb561b2b
4 changed files with 34 additions and 29 deletions

1
main.h
View file

@ -39,6 +39,7 @@ typedef struct IDirectDrawImpl
DWORD freq;
BOOL windowed;
CRITICAL_SECTION cs;
HANDLE ev;
HWND hWnd;
LRESULT CALLBACK (*WndProc)(HWND, UINT, WPARAM, LPARAM);