diff --git a/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp b/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp index 1a5e31e8a..064cc3c4d 100644 --- a/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp +++ b/Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp @@ -2364,7 +2364,10 @@ __inline void Float_RoundToInteger32( int * Dest, float * Source ) fistp dword ptr [edi] } #else - g_Notify->BreakPoint(__FILEW__,__LINE__); + __m128 xmm; + + xmm = _mm_load_ss(Source); + *(Dest) = _mm_cvt_ss2si(xmm); #endif } @@ -2379,7 +2382,10 @@ __inline void Float_RoundToInteger64( __int64 * Dest, float * Source ) fistp qword ptr [edi] } #else - g_Notify->BreakPoint(__FILEW__,__LINE__); + __m128 xmm; + + xmm = _mm_load_ss(Source); + *(Dest) = _mm_cvtss_si64(xmm); #endif }