mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
-fixed codedump if title in gametdb is longer than 64 chars
This commit is contained in:
parent
93fc90c494
commit
c9b0db14af
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user