mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-28 12:51:52 +01:00
-fixed codedump if title in gametdb is longer than 64 chars
This commit is contained in:
parent
93fc90c494
commit
c9b0db14af
@ -477,8 +477,10 @@ bool GameTDB::FindTitle(char * data, string & title, string langCode)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
title = the_title;
|
||||
|
||||
char tmp[64];
|
||||
strncpy(tmp, the_title, 64);
|
||||
title=tmp;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user