yquake2remaster/src/backends
Yamagi 8e223b2743 Make sure that the config dir exists.
Since 1a913eb we're calling realpath() on every dir and bail out if the
real path isn't available. If the game is started the first time, the
configuration dir doesn't exist at the first realpath() call and the
game errors out. Always create the configuration dir when determining
it's path.

This didn't happen on Windows because the configuration dir was created
when opening stdout.txt right after we entered main().

TODO: Sys_Mkdir() should grow at leas a little bit error handling. We're
silently ending up in -portable mode if the configuration dir couldn't
created.
2020-12-30 18:45:16 +01:00
..
generic DragonFlyBSD build fix. 2020-10-10 14:29:28 +01:00
unix Make sure that the config dir exists. 2020-12-30 18:45:16 +01:00
windows Make sure that the config dir exists. 2020-12-30 18:45:16 +01:00