updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / stepmania-beta / sdl.patch
blobd680bac83aa716ee942c0371532689729b8c50d0
1 --- StepMania-3.9-src-orig/src/arch/InputHandler/InputHandler_SDL.cpp 2004-09-09 21:12:40.000000000 -0500
2 +++ StepMania-3.9-src/src/arch/InputHandler/InputHandler_SDL.cpp 2006-06-18 00:09:53.000000000 -0500
3 @@ -123,7 +123,7 @@
4 SDL_KEYDOWN, SDL_KEYUP, SDL_JOYBUTTONDOWN, SDL_JOYBUTTONUP,
5 SDL_JOYAXISMOTION, SDL_JOYHATMOTION, -1
6 };
7 -static int SDL_EventMask;
8 +static int SDL_EventMask2;
10 InputHandler_SDL::InputHandler_SDL()
12 @@ -173,7 +173,7 @@
13 for(i = 0; Handled_SDL_Events[i] != -1; ++i)
15 mySDL_EventState(Handled_SDL_Events[i], SDL_ENABLE);
16 - SDL_EventMask |= SDL_EVENTMASK(Handled_SDL_Events[i]);
17 + SDL_EventMask2 |= SDL_EVENTMASK(Handled_SDL_Events[i]);
21 @@ -192,7 +192,7 @@
22 void InputHandler_SDL::Update(float fDeltaTime)
24 SDL_Event event;
25 - while(SDL_GetEvent(event, SDL_EventMask))
26 + while(SDL_GetEvent(event, SDL_EventMask2))
28 switch(event.type)