Caught small bug

This commit is contained in:
Pavel Krajcevski 2014-09-25 19:10:30 -04:00
parent c0d7607998
commit 1f45a49102

View file

@ -184,7 +184,7 @@ namespace ASTCC {
// Determine R // Determine R
uint32 R = !!(modeBits & 0x10); uint32 R = !!(modeBits & 0x10);
if(layout < 4) { if(layout < 5) {
R |= (modeBits & 0x3) << 1; R |= (modeBits & 0x3) << 1;
} else { } else {
R |= (modeBits & 0xC) >> 1; R |= (modeBits & 0xC) >> 1;