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
This commit is contained in:
Olivier F. R. Dierick 2021-10-06 19:59:25 +02:00 committed by Alexandre Julliard
parent 32cec5e628
commit 60ef0f8677

View file

@ -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))