From dd7e50dc84814558f6c7beb92a609d28b4744cf3 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 25 Mar 2025 05:32:08 +1100 Subject: [PATCH] src/devices/cpu/e132xs/e132xsdrc.cpp: Fixed regression in exceptions. --- src/devices/cpu/e132xs/e132xsdrc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/e132xs/e132xsdrc.cpp b/src/devices/cpu/e132xs/e132xsdrc.cpp index f5461cbe68f..64fb2217393 100644 --- a/src/devices/cpu/e132xs/e132xsdrc.cpp +++ b/src/devices/cpu/e132xs/e132xsdrc.cpp @@ -373,7 +373,7 @@ void hyperstone_device::static_generate_exception(uint32_t exception, const char UML_ADD(block, I3, I3, I2); // I3 = updated FP UML_SHL(block, I2, I3, 25); // I2 = updated FP:... - UML_OR(block, I2, I2, 6 << 21); // I2 = updated FP:FL:... + UML_OR(block, I2, I2, 2 << 21); // I2 = updated FP:FL:... UML_ROLINS(block, I1, I2, 0, 0xffe00000); // update FP and FL in I1 UML_AND(block, I1, I1, ~(M_MASK | T_MASK)); // clear M and T, set S and L UML_OR(block, I1, I1, (L_MASK | S_MASK));