http://gitunderground.i2p/archive/Ryujinx/commit/11a7c99764ed4e6c575c877c69ca627645702a42
( height & ( BlockHeight - 1 ) ) : BlockHeight ) ; } } } width = Math . Max ( 1 , width > > 1 ) ; height = Math . Max ( 1 , height > > 1 ) ; depth = Math . Max ( 1 , depth > > 1 ) ; } return output ; } public static byte [ ] DecodeBC5 ( ReadOnlySpan < byte > data , int width , int height , int depth , int levels , int layers , bool signed ) { int size = 0 ; for ( int l = 0 ; l < levels ; l + + ) { size + = Math .