mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	hid: fix pad update
This commit is contained in:
		
							parent
							
								
									f62935d278
								
							
						
					
					
						commit
						ab67f0ffa3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -68,7 +68,7 @@ void Update() { | ||||||
| 
 | 
 | ||||||
|     mem->pad.current_state.hex = state.hex; |     mem->pad.current_state.hex = state.hex; | ||||||
|     mem->pad.index = next_pad_index; |     mem->pad.index = next_pad_index; | ||||||
|     next_touch_index = (next_touch_index + 1) % mem->pad.entries.size(); |     next_pad_index = (next_pad_index + 1) % mem->pad.entries.size(); | ||||||
| 
 | 
 | ||||||
|     // Get the previous Pad state
 |     // Get the previous Pad state
 | ||||||
|     u32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size(); |     u32 last_entry_index = (mem->pad.index - 1) % mem->pad.entries.size(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue