Module: wine Branch: master Commit: 60ef0f86772559187c04098e4c3d8b4678062a1c URL: https://gitlab.winehq.org/wine/wine/-/commit/60ef0f86772559187c04098e4c3d8b4...
Author: Olivier F. R. Dierick o.dierick@piezo-forte.be Date: Wed Oct 6 19:59:25 2021 +0200
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.
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))