mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	added a new function wrapper
This commit is contained in:
		
							parent
							
								
									d4411acfd0
								
							
						
					
					
						commit
						f0797dcf1f
					
				@ -725,6 +725,11 @@ template<int func(int, const char *, u32, void *, int, int, int)> void WrapI_ICU
 | 
			
		||||
  RETURN(retval);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template<int func(void *, u32, u32, u32, u32, u32)> void WrapI_VUUUUU(){
 | 
			
		||||
  u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), PARAM(2), PARAM(3), PARAM(4), PARAM(5));
 | 
			
		||||
  RETURN(retval);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template<int func(u32, s64)> void WrapI_US64() {
 | 
			
		||||
    int retval = func(PARAM(0), PARAM64(2));
 | 
			
		||||
    RETURN(retval);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user