Evilnat / Cobra-PS3

Cobra for PS3
164 stars 39 forks source link

Bug in PhotoGUI (mappath.c) #11

Closed aldostools closed 1 year ago

aldostools commented 2 years ago

https://github.com/Evilnat/Cobra-PS3/blob/09c5806dc824faab9ad3b4f6338b493ab281d56b/8.3/4.88/NORMAL/CEX/SRC/stage2/mappath.c#L265

This line is saving a truncated path (last 16 characters are missing) cellFsWrite(fd, path, len, &size);

It should be: cellFsWrite(fd, path, (len+16), &size); or cellFsWrite(fd, path, size, &size); // size = len+16; in line 253