diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-28 20:08:17 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:24 +0200 |
commit | 84298ce1917da637e7f60ee6c95602a8e7512c8a (patch) | |
tree | 3045e6e10a75b6a4b5ed950aeac8fdf8482dd3b8 /src | |
parent | shader: Implement VMAD, VMNMX, VSETP (diff) | |
download | yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar.gz yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar.bz2 yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar.lz yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar.xz yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.tar.zst yuzu-84298ce1917da637e7f60ee6c95602a8e7512c8a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp index 42fd42bb1..7aef37f54 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp @@ -43,7 +43,10 @@ void ISCADD(TranslatorVisitor& v, u64 insn, IR::U32 op_b) { v.X(iscadd.dest_reg, result); if (iscadd.cc != 0) { - throw NotImplementedException("ISCADD CC"); + v.SetZFlag(v.ir.GetZeroFromOp(result)); + v.SetSFlag(v.ir.GetSignFromOp(result)); + v.SetCFlag(v.ir.GetCarryFromOp(result)); + v.SetOFlag(v.ir.GetOverflowFromOp(result)); } } |