Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace any non alphanumerical character with '_' for output filenames (
#246) Fixes dumping carts with headers that have random garbage data in their gameTitle that are not actually ascii characters, thus making the dump fail because the output file cannot be opened
- Loading branch information
e94a930
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix seems to not catch "?" characters. I had a few dumpable carts no longer dumpable after this commit. :(
e94a930
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems weird, since as per the standard https://en.cppreference.com/w/cpp/string/byte/isalnum
So the function should return
0
for?