mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Add a couple of emoji to UI in debug mode
This commit is contained in:
1 parent
ea659319b2
commit
a477ca3f05
4 files changed
+15
-2
No files matched your search
+4
-1
@@ -34,6 +34,7 @@
|
||||
#include "Common/File/VFS/VFS.h"
|
||||
|
||||
#include "Common/Data/Color/RGBAUtil.h"
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
#include "Common/Data/Text/I18n.h"
|
||||
#include "Common/Data/Random/Rng.h"
|
||||
#include "Common/TimeUtil.h"
|
||||
@@ -798,7 +799,9 @@ void LogoScreen::render() {
|
||||
// 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";
|
||||
apiName += ", debug build ";
|
||||
// Add some bug emoji for testing.
|
||||
apiName += CodepointToUTF8(0x1F41B) + CodepointToUTF8(0x1FAB0) + CodepointToUTF8(0x1F41C) + CodepointToUTF8(0x1FAB2);
|
||||
#endif
|
||||
dc.DrawText(gr->T(apiName), bounds.centerX(), ppsspp_org_y + 50, textColor, ALIGN_CENTER);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user