mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue