mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-11 10:41:41 +00:00
Merge pull request #176 from lioncash/ppu-typo
Fix a typo in SUBFZE for the PPUInterpreter.
This commit is contained in:
commit
1975b7e139
1 changed files with 1 additions and 1 deletions
|
@ -2738,7 +2738,7 @@ private:
|
||||||
{
|
{
|
||||||
const u64 RA = CPU.GPR[ra];
|
const u64 RA = CPU.GPR[ra];
|
||||||
CPU.GPR[rd] = ~RA + CPU.XER.CA;
|
CPU.GPR[rd] = ~RA + CPU.XER.CA;
|
||||||
CPU.XER.CA = (~RA + CPU.XER.CA > ~0x0) | ((RA == 0) & CPU.XER.CA);
|
CPU.XER.CA = ((RA == 0) & CPU.XER.CA);
|
||||||
if (oe) ConLog.Warning("subfzeo");
|
if (oe) ConLog.Warning("subfzeo");
|
||||||
if (rc) CPU.UpdateCR0<s64>(CPU.GPR[rd]);
|
if (rc) CPU.UpdateCR0<s64>(CPU.GPR[rd]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue