From ed0598333245e367a2863b6208abb797a86c6124 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 27 Jan 2017 21:00:11 +0200 Subject: [PATCH] Missing fpsr_make_status(). --- fpp.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fpp.cpp b/fpp.cpp index b0089dba..8800cb62 100644 --- a/fpp.cpp +++ b/fpp.cpp @@ -2468,6 +2468,7 @@ static void fpuop_arithmetic2 (uae_u32 opcode, uae_u16 extra) case 3: if (put_fp_value (®s.fp[(extra >> 7) & 7], opcode, extra, pc) == 0) fpu_noinst (opcode, pc); + fpsr_make_status(); return; case 4: @@ -2669,11 +2670,7 @@ static void fpuop_arithmetic2 (uae_u32 opcode, uae_u16 extra) if (fault_if_unimplemented_680x0 (opcode, extra, ad, pc, &srcd, reg)) return; fpsr_clear_status(); - if (!fpu_get_constant(®s.fp[reg], extra)) { - fpu_noinst(opcode, pc); - return; - } - fpsr_set_result(®s.fp[reg]); + fpu_get_constant(®s.fp[reg], extra); fpsr_make_status(); return; } @@ -2704,6 +2701,7 @@ static void fpuop_arithmetic2 (uae_u32 opcode, uae_u16 extra) v = arithmetic(&srcd, reg, extra); if (!v) fpu_noinst (opcode, pc); + fpsr_make_status(); return; default: break; -- 2.47.3