From 687fa640d49ce19b9b9a2258fde19e1500bfabb4 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 2 Apr 2007 08:18:36 +0000 Subject: Random bug fixes from code inspection, by Wang Cheng Yeh. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2580 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/lsi53c895a.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/lsi53c895a.c') diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 07e09f3cc8..193ff12204 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -1046,6 +1046,7 @@ again: case 5: /* SHR */ op1 = op0 & 1; op0 = (op0 >> 1) | (s->carry << 7); + s->carry = op1; break; case 6: /* ADD */ op0 += op1; -- cgit v1.2.3