summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/e0c6200/e0c6200op.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/e0c6200/e0c6200op.inc')
-rw-r--r--src/emu/cpu/e0c6200/e0c6200op.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/e0c6200/e0c6200op.inc b/src/emu/cpu/e0c6200/e0c6200op.inc
index 6eef5a7975e..09fc07b3c70 100644
--- a/src/emu/cpu/e0c6200/e0c6200op.inc
+++ b/src/emu/cpu/e0c6200/e0c6200op.inc
@@ -151,14 +151,14 @@ UINT8 e0c6200_cpu_device::op_add(UINT8 x, UINT8 y, int decimal)
m_icount -= 2;
x += y;
set_cf(x);
-
+
// decimal correction
if (m_f & decimal && x >= 10)
{
x -= 10;
m_f |= C_FLAG;
}
-
+
set_zf(x);
return x & 0xf;
}