Buildfix, oops

This commit is contained in:
Henrik Rydgård committed 2017-05-26 19:05:18 +02:00
1 parent 21fe73c8e7
commit 867a1d8bb2
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ namespace
void SetStringFromSFO(ParamSFOData &sfoFile, const char *name, char *str, int strLength)
{
std::string value = sfoFile.GetValueString(name);
truncate_cpy(str, value.c_str());
truncate_cpy(str, strLength, value.c_str());
}
bool ReadPSPFile(std::string filename, u8 **data, s64 dataSize, s64 *readSize)