mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 20:25:25 +02:00
Show "debug build" on the splash screen, in debug builds.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user