-
Rafael Kitover authored
By default the SDL port tried to save the battery to a nonexistant directory in saveDir, because if (saveDir) {...} evaluted to true since saveDir was a non-NULL pointer but empty. Change sdlCheckDirectory to return a bool indicating if the directory is good or not, and if not set screenShotDir, saveDir and batteryDir to NULL so that code that checks for their existance works correctly.
05555a23