-fixed codedump if title in gametdb is longer than 64 chars

This commit is contained in:
fix94.1 2012-01-28 14:37:48 +00:00
parent 93fc90c494
commit c9b0db14af

View File

@ -478,7 +478,9 @@ bool GameTDB::FindTitle(char * data, string & title, string langCode)
return false; return false;
} }
title = the_title; char tmp[64];
strncpy(tmp, the_title, 64);
title=tmp;
return true; return true;
} }