mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 02:54:55 +00:00 
			
		
		
		
	Fixed accidental call to SDL_PrivateJoystickHat()
This commit is contained in:
		
							parent
							
								
									f050576665
								
							
						
					
					
						commit
						925859aaa6
					
				| 
						 | 
				
			
			@ -513,7 +513,6 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
 | 
			
		|||
            };
 | 
			
		||||
 | 
			
		||||
            hatstate = SDL_SYS_MFIJoystickHatStateForDPad(gamepad.dpad);
 | 
			
		||||
            SDL_PrivateJoystickHat(joystick, 0, hatstate);
 | 
			
		||||
 | 
			
		||||
            for (i = 0; i < SDL_arraysize(buttons); i++) {
 | 
			
		||||
                updateplayerindex |= (joystick->buttons[i] != buttons[i]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue