Léo Lam 7aa083388b NANDImporter: Construct strings correctly
Use std::string(cstring, strnlen(cstring, max_length)) instead of
trying to remove extra null characters manually, which is a bit
ugly and error prone.

And indeed, the original code contained a bug which would cause
extra NULLs to not be removed at all if the string did not
end with a NULL -- causing issues down the road when constructing
paths for sub-entries.
2017-10-28 22:40:05 +02:00
..
2017-06-15 21:33:50 +02:00
2017-06-15 21:33:50 +02:00
2017-10-24 11:41:54 +02:00
2017-10-24 11:41:54 +02:00
2017-06-15 21:33:50 +02:00
2017-06-15 21:33:50 +02:00
2017-10-08 13:04:23 +02:00
2017-06-15 21:33:50 +02:00
2017-10-08 12:38:12 +02:00
2017-10-24 11:41:54 +02:00
2017-06-15 21:33:50 +02:00
2017-06-15 21:33:50 +02:00
2017-10-24 11:41:54 +02:00