-
-
Save achurch/3d01aad515b1784c671637018f076ecd to your computer and use it in GitHub Desktop.
Wine hack for FF14 launcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN wine-4.6-orig/dlls/ntdll/misc.c wine-4.6/dlls/ntdll/misc.c | |
--- wine-4.6-orig/dlls/ntdll/misc.c 2019-04-13 03:10:12 +0900 | |
+++ wine-4.6/dlls/ntdll/misc.c 2019-04-24 19:10:44 +0900 | |
@@ -524,3 +524,10 @@ | |
*present = TRUE; | |
return TRUE; | |
} | |
+ | |
+BOOL IsTransgaming(void) | |
+{ | |
+ static int call_count = -1; | |
+ call_count++; | |
+ return call_count == 1; | |
+} | |
diff -urN wine-4.6-orig/dlls/ntdll/ntdll.spec wine-4.6/dlls/ntdll/ntdll.spec | |
--- wine-4.6-orig/dlls/ntdll/ntdll.spec 2019-04-24 18:23:50 +0900 | |
+++ wine-4.6/dlls/ntdll/ntdll.spec 2019-04-24 18:48:37 +0900 | |
@@ -1537,3 +1537,5 @@ | |
# User shared data | |
@ cdecl __wine_user_shared_data() | |
+ | |
+@ cdecl IsTransgaming() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment