diff options
author | ajrhacker <ajrhacker@users.noreply.github.com> | 2018-08-14 10:31:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 10:31:16 -0400 |
commit | a14c3259aa98fc61f8213b7724b31b564ed2529b (patch) | |
tree | 3f93380641d519c7cbdaf7d50969cbc2a97b0697 | |
parent | 9bad37d8cb561bf9dc7b5c48273e9b26f813a119 (diff) | |
parent | fb0818c7c600f8759eeea40e8d3455aedc246aaf (diff) |
Merge pull request #3851 from MoochMcGee/i860-fix
i860: hotfix for coverity issue (nw)
-rw-r--r-- | src/devices/cpu/i860/i860dec.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i860/i860dec.hxx b/src/devices/cpu/i860/i860dec.hxx index dedf86028cc..923a30b0935 100644 --- a/src/devices/cpu/i860/i860dec.hxx +++ b/src/devices/cpu/i860/i860dec.hxx @@ -3166,7 +3166,7 @@ void i860_cpu_device::insn_dualop (uint32_t insn) /* Do the add operation, being careful about source and result precision. Remember, the R bit indicates source and result precision here. */ - if (res_prec) + if (src_prec) { double v1 = get_fval_from_optype_d (insn, A_unit_op1); double v2 = get_fval_from_optype_d (insn, A_unit_op2); |