diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 08:18:36 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-02 08:18:36 +0000 |
commit | 687fa640d49ce19b9b9a2258fde19e1500bfabb4 (patch) | |
tree | f835f5923fdf8a4592176d9630978c411e082834 /hw/lsi53c895a.c | |
parent | d34cab9f49bc3ad83a2a968fc2d2719179db2c15 (diff) | |
download | qemu-687fa640d49ce19b9b9a2258fde19e1500bfabb4.zip qemu-687fa640d49ce19b9b9a2258fde19e1500bfabb4.tar.gz qemu-687fa640d49ce19b9b9a2258fde19e1500bfabb4.tar.bz2 |
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
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r-- | hw/lsi53c895a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 07e09f3..193ff12 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; |