mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Fix Compiling in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4523 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
07408d7625
commit
3c537ec137
4 changed files with 10 additions and 7 deletions
|
@ -366,9 +366,9 @@ void PAD_RumbleClose()
|
|||
#ifdef SDL_RUMBLE
|
||||
for (int i=0; i<4; i++) // Free all pads
|
||||
{
|
||||
if (pRumble[_numPAD].g_pDevice) {
|
||||
SDL_HapticClose( pRumble[_numPAD].g_pDevice );
|
||||
pRumble[_numPAD].g_pDevice = NULL;
|
||||
if (pRumble[i].g_pDevice) {
|
||||
SDL_HapticClose( pRumble[i].g_pDevice );
|
||||
pRumble[i].g_pDevice = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue