PKGBUILDS/wine-tkg-git/proton-tkg/proton_template/steamhelper_remove__wine_ma...

21 lines
625 B
Diff

diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp
--- a/steam_helper/steam.cpp
+++ b/steam_helper/steam.cpp
@@ -52,7 +52,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(steam);
-EXTERN_C HANDLE CDECL __wine_make_process_system(void);
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a))
@@ -1177,7 +1177,7 @@ int main(int argc, char *argv[])
}
if (game_process)
- wait_handle = __wine_make_process_system();
+ NtSetInformationProcess(GetCurrentProcess(), (PROCESS_INFORMATION_CLASS)1000 /*ProcessWineMakeProcessSystem*/, &wait_handle, sizeof(HANDLE));
if(wait_handle != INVALID_HANDLE_VALUE)
{