mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Gamepads (minor change) > Fix to last commit, LiveUpdate related
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4547 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -512,22 +512,17 @@ bool IsConnected(std::string Name)
|
||||
}
|
||||
}
|
||||
|
||||
// Earlier versions of SDL could crash if SDL functions were called during SDL_Quit/SDL_Init. I could not get
|
||||
// such a crash in the new version even with frequent SDL_Quit/SDL_Init so thse functions are disabled now.
|
||||
// It could be possible to crash SDL.dll if SDL functions are called during SDL_Quit/SDL_Init. Therefore these functions.
|
||||
// ----------------
|
||||
bool IsPolling()
|
||||
{
|
||||
return true;
|
||||
/*
|
||||
if (!SDLPolling || SDL_JoystickEventState(SDL_QUERY) == SDL_ENABLE)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
*/
|
||||
}
|
||||
void EnablePolling(bool Enable)
|
||||
{
|
||||
/*
|
||||
if (Enable)
|
||||
{
|
||||
SDLPolling = true;
|
||||
@ -538,7 +533,6 @@ void EnablePolling(bool Enable)
|
||||
SDLPolling = false;
|
||||
SDL_JoystickEventState(SDL_ENABLE);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// ID to Name
|
||||
|
Reference in New Issue
Block a user