More info on crash screen

This commit is contained in:
Henrik Rydgård 2019-02-17 17:46:42 +00:00
parent 96a40bb36d
commit 236cb57224

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