Fix for issue 734 (creating profile on a fresh install is completely broken.)

This commit is contained in:
wagic.the.homebrew
2011-09-17 08:42:13 +00:00
parent a6c458d0cb
commit c96d2fea55
6 changed files with 38 additions and 35 deletions
+1
View File
@@ -425,6 +425,7 @@ private:
GameApp* theGame;
SimplePad* keypad;
StyleManager* styleMan;
void createProfileFolders();
};
extern GameSettings options;
+2 -2
View File
@@ -86,13 +86,13 @@ void dumpStack();
u32 ramAvailableLineareMax(void);
u32 ramAvailable(void);
/*
#ifdef WIN32
#include <direct.h>
#define MAKEDIR(name) _mkdir(name)
#else
#include <sys/stat.h>
#define MAKEDIR(name) mkdir(name, 0777)
#endif
*/
bool fileExists(const char * filename);
bool FileExists(const string & filename);