From 4e00a20c1f0d62574e51cdf86bee435cca486479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 18 May 2020 23:16:00 +0200 Subject: [PATCH] Show "debug build" on the splash screen, in debug builds. --- UI/MiscScreens.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp index 7795ffc65e..a6542c65d0 100644 --- a/UI/MiscScreens.cpp +++ b/UI/MiscScreens.cpp @@ -516,6 +516,9 @@ void LogoScreen::render() { #if (defined(_WIN32) && !PPSSPP_PLATFORM(UWP)) || PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(LINUX) // Draw the graphics API, except on UWP where it's always D3D11 std::string apiName = screenManager()->getDrawContext()->GetInfoString(InfoField::APINAME); +#ifdef _DEBUG + apiName += ", debug build"; +#endif dc.DrawText(gr->T(apiName), bounds.centerX(), ppsspp_org_y + 50, textColor, ALIGN_CENTER); #endif