From: "Olivier F. R. Dierick" o.dierick@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))