Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unable to save/load issue (on Steam exe only)
- This issue was caused by the lack of a null terminator when reading the save location from the saveloc.txt file, resulting in the game attempting to read a path with some junk at the end - Previously, only the first element of the array was initialized. Any bytes not overwritten by fread(...) would remain uninitialized. - I also modified fread to read 511 instead of 512 bytes, so that there will always be a null terminator, even if fread reads the full 511 bytes.
- Loading branch information