sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.47k stars 204 forks source link

Avoid segmentation fault loading config file with Windows \r\n line endings #252

Closed Frenzie closed 3 months ago

Frenzie commented 3 months ago

The problem doesn't seem to occur in Windows, only in Linux (and presumably *nix in general) when trying to load a config file that was created (and perhaps hand-edited) in Windows.