From c301e7fa9b70ddf3d84f2fb741580feed4371c7f Mon Sep 17 00:00:00 2001 From: funnsam Date: Wed, 19 Jun 2024 14:59:32 +0000 Subject: [PATCH] maybe x86 fix --- emu/src/cpu/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emu/src/cpu/float.rs b/emu/src/cpu/float.rs index 32c3746..b143d56 100644 --- a/emu/src/cpu/float.rs +++ b/emu/src/cpu/float.rs @@ -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 }}; }