More info on crash screen

This commit is contained in:
Henrik Rydgård committed 2020-07-14 09:25:45 +02:00
1 parent 96a40bb36d
commit 236cb57224
1 file changed
+2 -1
+2 -1
View File
@@ -1271,7 +1271,8 @@ static void DrawCrashDump(DrawBuffer *draw2d) {
FontID ubuntu24("UBUNTU24");
char statbuf[4096];
char versionString[256];
sprintf(versionString, "%s", PPSSPP_GIT_VERSION);
snprintf(versionString, sizeof(versionString), "%s", PPSSPP_GIT_VERSION);
// TODO: Draw a lot more information. Full register set, and so on.
#ifdef _DEBUG