Fixed bug preventing FXAM from clearing C1 flag - fixes bugs in Half-Life, Final Fantasy VII, DEU and probably others.
This commit is contained in:
parent
f90c4053c4
commit
5ac8fd496a
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ static int opFXAM(uint32_t fetchdat)
|
|||
FP_ENTER();
|
||||
pc++;
|
||||
if (fplog) pclog("FXAM %i %f\n", tag[TOP&7], ST(0));
|
||||
npxs &= ~(C0|C2|C3);
|
||||
npxs &= ~(C0|C1|C2|C3);
|
||||
if (tag[TOP&7] == 3) npxs |= (C0|C3);
|
||||
else if (ST(0) == 0.0) npxs |= C3;
|
||||
else npxs |= C2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue