mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	ipc_helpers: Fix alignment (was wrong as a result of a dynarmic bug).
This commit is contained in:
		@@ -39,11 +39,12 @@ public:
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Aligns the current position forward to a 16-byte boundary, padding with zeros. Jumps forward
 | 
			
		||||
     * by 16-bytes at a minimum.
 | 
			
		||||
     * Aligns the current position forward to a 16-byte boundary, padding with zeros.
 | 
			
		||||
     */
 | 
			
		||||
    void AlignWithPadding() {
 | 
			
		||||
        Skip(4 - (index & 3), true);
 | 
			
		||||
        if (index & 3) {
 | 
			
		||||
            Skip(4 - (index & 3), true);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    unsigned GetCurrentOffset() const {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user