From c5ef249c4b3c8ae6e2c0301a718e389a0804f536 Mon Sep 17 00:00:00 2001 From: Paul Olszewski Date: Thu, 19 Jun 2014 19:37:54 -0500 Subject: [PATCH] Make the common "Failed to enumerate outputs" message much more useful. Now it includes its most common cause, a simply-worded solution, and an exclamation point. --- Source/Core/VideoBackends/D3D/D3DBase.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3D/D3DBase.cpp b/Source/Core/VideoBackends/D3D/D3DBase.cpp index bb758f5063..5bfdf54389 100644 --- a/Source/Core/VideoBackends/D3D/D3DBase.cpp +++ b/Source/Core/VideoBackends/D3D/D3DBase.cpp @@ -243,7 +243,10 @@ HRESULT Create(HWND wnd) { // try using the first one hr = adapter->EnumOutputs(0, &output); - if (FAILED(hr)) MessageBox(wnd, _T("Failed to enumerate outputs"), _T("Dolphin Direct3D 11 backend"), MB_OK | MB_ICONERROR); + if (FAILED(hr)) MessageBox(wnd, _T("Failed to enumerate outputs!\n") + _T("This usually happens when you've set your video adapter to the Nvidia GPU in an Optimus-equipped system.\n") + _T("Set Dolphin to use the high-performance graphics in Nvidia's drivers instead and leave Dolphin's video adapter set to the Intel GPU."), + _T("Dolphin Direct3D 11 backend"), MB_OK | MB_ICONERROR); } // get supported AA modes