Zero case behaviour confirmed by hardware test
Modify comments to reflect this
This commit is contained in:
parent
ab3eedcc33
commit
967c371d7a
|
@ -497,7 +497,6 @@ void Interpreter::lhzx(UGeckoInstruction _inst)
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: is this right?
|
||||
// FIXME: Should rollback if a DSI occurs
|
||||
void Interpreter::lswx(UGeckoInstruction _inst)
|
||||
{
|
||||
|
@ -506,6 +505,7 @@ void Interpreter::lswx(UGeckoInstruction _inst)
|
|||
int r = _inst.RD;
|
||||
int i = 0;
|
||||
|
||||
// Confirmed by hardware test that the zero case doesn't zero rGPR[r]
|
||||
if (n > 0)
|
||||
{
|
||||
rGPR[r] = 0;
|
||||
|
|
Loading…
Reference in New Issue