Fix 3DSSaveBank folder creation

Thanks @iGlitch
Closes #420
This commit is contained in:
Kurt 2016-11-15 22:05:40 -08:00
parent f0a2b83d85
commit 79e1d6b362

View file

@ -39,6 +39,7 @@ namespace PKHeX
return registryValue;
}
string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "3DSSaveBank");
if (Directory.Exists(GetRegistryBase()))
Directory.CreateDirectory(path);
return path;
}