mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-10-08 19:43:40 +00:00
Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
Maybe should also update the messagebox text somehow...
This commit is contained in:
parent
0843e2cb98
commit
b0a22fb5c7
@ -184,10 +184,15 @@ void MainThreadFunc() {
|
||||
g_Config.Save();
|
||||
|
||||
W32Util::ExitAndRestart();
|
||||
} else {
|
||||
if (g_Config.iGPUBackend == (int)GPUBackend::DIRECT3D9) {
|
||||
// Allow the user to download the DX9 runtime.
|
||||
LaunchBrowser("https://www.microsoft.com/en-us/download/details.aspx?id=34429");
|
||||
}
|
||||
}
|
||||
|
||||
// No safe way out without graphics.
|
||||
exit(1);
|
||||
ExitProcess(1);
|
||||
}
|
||||
|
||||
GraphicsContext *graphicsContext = g_graphicsContext;
|
||||
|
Loading…
Reference in New Issue
Block a user