Tilde in save path creates "~" folder
|Reported by:||andrews05||Owned by:||criezy|
|Priority:||normal||Component:||Port: Mac OS X|
For the most part, ScummVM happily works with a save path relative to the user's home directory (such as "~/Documents/ScummVM"). It loads and saves games correctly, and even ensures the path exists by creating it as necessary. The only problem is, as part of creating the save path, it ends up creating a folder named "~" in the current working directory. This would typically be in the filesystem root, but could be elsewhere if ScummVM is launched from a terminal.
I've encountered this on macOS, unsure if it affects Linux systems also.