Esme Povirk : mscoree: Use builtin XNA implementation by default.

Alexandre Julliard julliard at winehq.org
Wed Aug 12 16:28:39 CDT 2020


Module: wine
Branch: master
Commit: f87171c6013603decfc64f405bb039b5c1f1add4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f87171c6013603decfc64f405bb039b5c1f1add4

Author: Esme Povirk <esme at codeweavers.com>
Date:   Tue Aug 11 22:15:46 2020 -0500

mscoree: Use builtin XNA implementation by default.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=32877
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mscoree/metahost.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index 7702994252..e854ec2bdf 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -1502,6 +1502,10 @@ static DWORD get_basename_search_flags(const char *basename, MonoAssemblyName *a
         return reg_entry.flags;
     }
 
+    if (strcmp(basename, "Microsoft.Xna.Framework.*") == 0)
+        /* XNA redist is broken in Wine Mono, use FNA instead. */
+        return 0;
+
     return ASSEMBLY_SEARCH_UNDEFINED;
 }
 




More information about the wine-cvs mailing list