From 2b29c3fe64016614abb7eaf13a9bed138016af34 Mon Sep 17 00:00:00 2001 From: "Adrian.Conlon" Date: Mon, 17 Jul 2017 21:38:58 +0100 Subject: [PATCH] Correct a couple of LR35902 issues. Signed-off-by: Adrian.Conlon --- LR35902/src/LR35902.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LR35902/src/LR35902.cpp b/LR35902/src/LR35902.cpp index 8b8f4a2..4e02ee5 100644 --- a/LR35902/src/LR35902.cpp +++ b/LR35902/src/LR35902.cpp @@ -616,15 +616,19 @@ void EightBit::LR35902::executeOther(int x, int y, int z, int p, int q) { switch (y) { case 0: rlc(A()); + clearFlag(F(), ZF); break; case 1: rrc(A()); + clearFlag(F(), ZF); break; case 2: rl(A()); + clearFlag(F(), ZF); break; case 3: rr(A()); + clearFlag(F(), ZF); break; case 4: daa();