summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-03-30 06:29:08 +1100
committer Vas Crabb <vas@vastheman.com>2025-03-30 06:29:08 +1100
commitb860e736f6b04c19344ecf658dc125a80da97075 (patch)
tree5a39e930ff7ff407d110aa3e6e7ea1157350fa13 /src/devices
parentdd7e50dc84814558f6c7beb92a609d28b4744cf3 (diff)
Miscelaneous minor fixes:
Changed "Exception Points" to "Exceptionpoints" in the debugger documentation and help. This better matches "Watchpoints" and "Registerpoints". Also, it's very confusing that you see the help topic listing showing "Exception Points" but typing "help Exception Points" doesn't actually work. cpu/e132xs: Fixed a flags issue in the recompiler. misc/dgpix.cpp: Demoted The X-Files to not working with unemulated protection. skeleton/turnierdart.cpp: The srcclean on this file was missed.
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/e132xs/e132xsdrc_ops.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
index 90c80928f7d..d5c39b3a59c 100644
--- a/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
+++ b/src/devices/cpu/e132xs/e132xsdrc_ops.hxx
@@ -1633,8 +1633,10 @@ void hyperstone_device::generate_movi(drcuml_block &block, compiler_state &compi
UML_AND(block, DRC_SR, DRC_SR, ~(Z_MASK | N_MASK));
- if (src)
- UML_OR(block, DRC_SR, DRC_SR, (src & 0x80000000) ? (Z_MASK | N_MASK) : Z_MASK);
+ if (!src)
+ UML_OR(block, DRC_SR, DRC_SR, Z_MASK);
+ else if (src & 0x80000000)
+ UML_OR(block, DRC_SR, DRC_SR, N_MASK);
#if MISSIONCRAFT_FLAGS
UML_AND(block, DRC_SR, DRC_SR, ~V_MASK);