qsub fix (Wolfgang Schildbach)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2024 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-06-26 19:55:19 +00:00
parent a80dde0837
commit 567d4107a6

View File

@ -786,7 +786,7 @@ void OPPROTO op_subl_T0_T1_saturate(void)
if (((res ^ T0) & SIGNBIT) && ((T0 ^ T1) & SIGNBIT)) {
env->QF = 1;
if (T0 & SIGNBIT)
T0 = 0x8000000;
T0 = 0x80000000;
else
T0 = 0x7fffffff;
}