Skip to content

Commit

Permalink
maybe x86 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
funnsam committed Jun 19, 2024
1 parent db068a7 commit c301e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emu/src/cpu/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ macro_rules! cast {
true
};
let v = if $v.is_nan() { $t::MAX } else { $v as $t };
if need_set && v as $f != $v { $s.check_fpu(); }
if need_set && v as $f != $v { $s.float_set_flags($crate::cpu::float::NV); }
v
}};
}
Expand Down

0 comments on commit c301e7f

Please sign in to comment.