sdl: create ~/.fceux dir with 755 permission

This commit is contained in:
punkrockguy318 2011-04-20 23:21:43 +00:00
parent e9d616d416
commit 12e3a9b07a
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ CreateDirs(const std::string &dir)
#if defined(WIN32) || defined(NEED_MINGW_HACKS)
mkdir(dir.c_str());
chmod(dir.c_str(), 755);
for(x = 0; x < 6; x++) {
subdir = dir + PSS + subs[x];
mkdir(subdir.c_str());