mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Event: Fix implementation of "non-sticky" events.
This commit is contained in:
		@@ -33,6 +33,10 @@ public:
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ResultVal<bool> Acquire() override {
 | 
					    ResultVal<bool> Acquire() override {
 | 
				
			||||||
 | 
					        // Release the event if it's not sticky...
 | 
				
			||||||
 | 
					        if (reset_type != RESETTYPE_STICKY)
 | 
				
			||||||
 | 
					            signaled = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return MakeResult<bool>(true);
 | 
					        return MakeResult<bool>(true);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user