msvcrt: silence a loud fixme

Austin English austinenglish at gmail.com
Wed Nov 24 20:29:13 CST 2010


Mass Effect 2 and Singularity both flood the terminal with this in
their menus, slowing down the game quite a bit.

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 4a3f65e..2ed1e2b 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -924,8 +924,11 @@ int CDECL _controlfp_s(unsigned int *cur, unsigned int newval, unsigned int mask
 {
 #ifdef __i386__
     unsigned int flags;
+    static int once;
 
-    FIXME("(%p %u %u) semi-stub\n", cur, newval, mask);
+    if (!once++)
+        FIXME("(%p %u %u) semi-stub\n", cur, newval, mask);
+    TRACE("(%p %u %u) semi-stub\n", cur, newval, mask);
 
     flags = _control87( newval, mask & ~MSVCRT__EM_DENORMAL );
 


More information about the wine-patches mailing list