Merge pull request #601 from cxd4/x64_FP_rounding

Quest 64 starts to work now (x64).
This commit is contained in:
zilmar 2015-09-16 05:24:30 +10:00
commit 3c41d544e6
1 changed files with 4 additions and 1 deletions

View File

@ -2592,7 +2592,10 @@ __inline void Double_RoundToInteger32( DWORD * Dest, double * Source )
fistp dword ptr [edi]
}
#else
g_Notify->BreakPoint(__FILEW__,__LINE__);
__m128d xmm;
xmm = _mm_load_sd(Source);
*(Dest) = _mm_cvtsd_si32(xmm);
#endif
}