mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 16:11:38 +00:00
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
|
// FIXME: Should rollback if a DSI occurs
|
||||||
void Interpreter::lswx(UGeckoInstruction _inst)
|
void Interpreter::lswx(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
@ -506,6 +505,7 @@ void Interpreter::lswx(UGeckoInstruction _inst)
|
|||||||
int r = _inst.RD;
|
int r = _inst.RD;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
// Confirmed by hardware test that the zero case doesn't zero rGPR[r]
|
||||||
if (n > 0)
|
if (n > 0)
|
||||||
{
|
{
|
||||||
rGPR[r] = 0;
|
rGPR[r] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user