From 21f813ad3eba71a3db856b2421b94edd6966ec8d Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Wed, 16 Aug 2017 00:58:39 +0000 Subject: [PATCH] Fixed a bug in MCRFS instruction related to the VXSOFT, VXSQRT, and VXCVI bits. Thanks to Spindizzi. --- Src/CPU/PowerPC/ppc_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/CPU/PowerPC/ppc_ops.c b/Src/CPU/PowerPC/ppc_ops.c index 54c32ff..670dbb6 100644 --- a/Src/CPU/PowerPC/ppc_ops.c +++ b/Src/CPU/PowerPC/ppc_ops.c @@ -2521,7 +2521,7 @@ static void ppc_mcrfs(UINT32 op) ppc.fpscr &= ~0x00080000; break; case 5: // VXSOFT, VXSQRT, VXCVI - ppc.fpscr &= ~0x00000e00; + ppc.fpscr &= ~0x00000700; break; default: break;