Merge pull request #636 from cxd4/bk

Banjo-Kazooie (U) v1.1 works in x64 now.
This commit is contained in:
zilmar 2015-09-30 10:59:12 +10:00
commit 1111e6db55
1 changed files with 4 additions and 1 deletions

View File

@ -2614,7 +2614,10 @@ __inline void Double_RoundToInteger64( unsigned __int64 * Dest, double * Source
fistp qword ptr [edi] fistp qword ptr [edi]
} }
#else #else
g_Notify->BreakPoint(__FILEW__,__LINE__); __m128d xmm;
xmm = _mm_load_sd(Source);
*(Dest) = _mm_cvtsd_si64(xmm);
#endif #endif
} }