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

Alexandre Julliard julliard at winehq.org
Tue Mar 23 15:07:43 CDT 2021


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

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>
(cherry picked from commit f87171c6013603decfc64f405bb039b5c1f1add4)
Signed-off-by: Michael Stefaniuc <mstefani 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 4c1e4e97c1e..9acaf2e6991 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -1480,6 +1480,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