mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	correct return logic to fix back button bug
This commit is contained in:
		
							parent
							
								
									65b67ad9fa
								
							
						
					
					
						commit
						c939d9c925
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -438,6 +438,9 @@ void djui_interactable_update(void) {
 | 
			
		|||
    } else if ((padButtons & PAD_BUTTON_B) && !(sLastInteractablePad.button & PAD_BUTTON_B)) {
 | 
			
		||||
        // pressed back button on controller
 | 
			
		||||
        djui_panel_back();
 | 
			
		||||
 | 
			
		||||
        sLastInteractablePad = gInteractablePad;
 | 
			
		||||
        sLastMouseButtons = mouseButtons;
 | 
			
		||||
        return;
 | 
			
		||||
    } else if ((padButtons & PAD_BUTTON_START) && !(sLastInteractablePad.button & PAD_BUTTON_START)) {
 | 
			
		||||
        // pressed start button
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue