SBCS fix (Paul Brook)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1264 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2005-02-02 20:43:01 +00:00
parent 9f0777ed88
commit 78573df6b2

View File

@ -190,10 +190,10 @@ void OPPROTO op_ ## sbc ## l_T0_T1_cc(void) \
src1 = T0; \
if (!env->CF) { \
T0 = T0 - T1 - 1; \
env->CF = src1 >= T1; \
env->CF = src1 > T1; \
} else { \
T0 = T0 - T1; \
env->CF = src1 > T1; \
env->CF = src1 >= T1; \
} \
env->VF = (src1 ^ T1) & (src1 ^ T0); \
env->NZF = T0; \