[PATCH 0/1] MR2756: dxdiag: Ignore option /64bit on the commandline.
The builtin dxdiag doesn't know about option /64bit and display an error dialog. Some games use that option internally on startup and the dialog is annoying. This patch makes the /64bit option known to the builtin dxdiag so that it ignores it and doesn't display an error dialog. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49964 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2756
From: "Olivier F. R. Dierick" <o.dierick(a)piezo-forte.be> The builtin dxdiag doesn't know about option /64bit and display an error dialog. Some games use that option internally on startup and the dialog is annoying. This patch makes the /64bit option known to the builtin dxdiag so that it ignores it and doesn't display an error dialog. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49964 --- programs/dxdiag/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/programs/dxdiag/main.c b/programs/dxdiag/main.c index f57eec99292..b6ea5306d06 100644 --- a/programs/dxdiag/main.c +++ b/programs/dxdiag/main.c @@ -159,6 +159,12 @@ static BOOL process_command_line(const WCHAR *cmdline, struct command_line_info break; + case '6': + if (wcsnicmp(cmdline, L"64bit", 5)) + return FALSE; + cmdline += 5; + break; + case 'd': case 'D': if (wcsnicmp(cmdline, L"dontskip", 8)) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2756
participants (2)
-
Olivier F. R. Dierick -
Olivier F. R. Dierick (ï¼ olivierfrdierick)