From 436ac7ace10491e0c1032646ab68c180d5d2b15f Mon Sep 17 00:00:00 2001 From: MooglyGuy Date: Fri, 13 Dec 2024 02:02:25 +0100 Subject: MAME Testers bugs fixed (#13076) ----------------------- - 08942: [Gameplay] (misc/vamphalf.cpp) coolmini: Minigames don't work properly/softlock -e132xs: Sign-extend the divisor in DIVS instructions. [Ryan Holtz] Co-authored-by: Ryan Holtz --- src/devices/cpu/e132xs/e132xsdrc_ops.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx index 82f915354e9..5b5b88fb748 100644 --- a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx +++ b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx @@ -665,6 +665,7 @@ void hyperstone_device::generate_divsu(drcuml_block &block, compiler_state &comp { UML_DTEST(block, I1, 0x8000000000000000LL); UML_JMPc(block, uml::COND_NZ, no_result); + UML_DSEXT(block, I0, I0, SIZE_DWORD); } if (SIGNED) -- cgit v1.2.3