mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Merge pull request #12879 from unknownbrackets/init-crash
Windows: Make init crash warnings more generic
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -294,7 +294,7 @@ void System_SendMessage(const char *command, const char *parameter) {
|
||||
}
|
||||
} else if (!strcmp(command, "graphics_failedBackend")) {
|
||||
auto err = GetI18NCategory("Error");
|
||||
const char *backendSwitchError = err->T("GenericBackendSwitchError", "PPSSPP crashed while initializing graphics. Try upgrading your graphics drivers.\n\nGraphics backend has been switched:");
|
||||
const char *backendSwitchError = err->T("GenericBackendSwitchCrash", "PPSSPP crashed while starting. This usually means a graphics driver problem. Try upgrading your graphics drivers.\n\nGraphics backend has been switched:");
|
||||
std::wstring full_error = ConvertUTF8ToWString(StringFromFormat("%s %s", backendSwitchError, parameter));
|
||||
std::wstring title = ConvertUTF8ToWString(err->T("GenericGraphicsError", "Graphics Error"));
|
||||
MessageBox(MainWindow::GetHWND(), full_error.c_str(), title.c_str(), MB_OK);
|
||||
|
||||
Reference in new issue
Block a user