summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2019-06-04 16:52:47 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2019-06-04 16:52:47 +0700
commite5b8df95ccb8ea510b06ab382cb56fbb8d08bac0 (patch)
treeed0816e16a6a1acd3ca78be65063c0afbe4b49dd
parent2da0d379679375ed140138ac7657b175387c63ee (diff)
m6805: flag fix (nw)
CLRX doesn't clear the carry flag.
-rw-r--r--src/devices/cpu/m6805/6805ops.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6805/6805ops.hxx b/src/devices/cpu/m6805/6805ops.hxx
index 38f9c3b4b7b..da02ad23500 100644
--- a/src/devices/cpu/m6805/6805ops.hxx
+++ b/src/devices/cpu/m6805/6805ops.hxx
@@ -473,7 +473,7 @@ OP_HANDLER( tstx )
OP_HANDLER( clrx )
{
X = 0;
- clr_nzc();
+ clr_nz();
SEZ;
}