While I'm here, stswx should wrap too.

This commit is contained in:
Scott Mansell 2016-08-27 10:33:39 +12:00
parent 5b47635b3f
commit ab3eedcc33

View file

@ -742,7 +742,7 @@ void Interpreter::stswx(UGeckoInstruction _inst)
if (i == 32)
{
i = 0;
r++;
r = (r + 1) & 0x1f; // wrap
}
}
}