nesbox / TIC-80

TIC-80 is a fantasy computer for making, playing and sharing tiny games.
https://tic80.com
MIT License
4.84k stars 462 forks source link

`--fs` accepts files, not just folders; errors follow #2572

Open aliceisjustplaying opened 1 month ago

aliceisjustplaying commented 1 month ago

--fs correctly throws an error if a directory or a file doesn't exist, however TIC-80 is more than happy to start anyways with a file as an argument. Once started, save (predictably) fails.

Present in latest upstream as of commit https://github.com/nesbox/TIC-80/commit/bf5b95cf31bc40cc85ab400d723f95cb841436bb.

image