In POSIX-compatible file systems, file names cannot contain the following characters: NUL (0x00), forward slash (0x2f). While others may also be disallowed, this requirement is present in all UNIX-inspired file systems.
This simple patch makes sure that even for games that contain the "/" character in their title, the install directory param is set in a way which does not violate this minimum requirement. I'm only trapping the "/" character since it's obviously impossible for games to have the NULL character in their title ;)
In POSIX-compatible file systems, file names cannot contain the following characters: NUL (0x00), forward slash (0x2f). While others may also be disallowed, this requirement is present in all UNIX-inspired file systems.
This simple patch makes sure that even for games that contain the "/" character in their title, the install directory param is set in a way which does not violate this minimum requirement. I'm only trapping the "/" character since it's obviously impossible for games to have the NULL character in their title ;)