From 49a4edbab5ae2289b5cbebd34f8963d2f26ab488 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 6 Apr 2021 07:04:25 -0700 Subject: [PATCH] UI: Show more detailed load error messages. --- Core/System.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/System.cpp b/Core/System.cpp index f46eaa915d..cf86c440eb 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -412,7 +412,10 @@ bool PSP_InitStart(const CoreParameter &coreParam, std::string *error_string) { PSP_SetLoading("Loading game..."); if (!CPU_Init()) { - *error_string = "Failed initializing CPU/Memory"; + *error_string = coreParameter.errorString; + if (error_string->empty()) { + *error_string = "Failed initializing CPU/Memory"; + } pspIsIniting = false; return false; }