This commit is contained in:
Unknown W. Brackets 2015-01-19 09:40:46 -08:00
parent 5c80731637
commit 19b92a3e68

View File

@ -177,7 +177,7 @@ namespace MIPSComp
u32 value = gpr.GetImm(rs);
int x = 31;
int count = 0;
while (x >= 0 && (value & (1 << x)))
while (x >= 0 && (value & (1 << x))) {
count++;
x--;
}