aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/SaveSystem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2.Engine/SaveSystem.cs')
-rw-r--r--Histacom2.Engine/SaveSystem.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Histacom2.Engine/SaveSystem.cs b/Histacom2.Engine/SaveSystem.cs
index 11fbe88..a3fd2ef 100644
--- a/Histacom2.Engine/SaveSystem.cs
+++ b/Histacom2.Engine/SaveSystem.cs
@@ -127,7 +127,7 @@ namespace Histacom2.Engine
{
var save = new Save();
save.ExperiencedStories = new List<string>();
- if (DevMode == true)
+ if (DevMode)
{
if (ProfileName == "xpbad")
{
@@ -190,6 +190,7 @@ namespace Histacom2.Engine
public static void CreateWindowsDirectory()
{
+ SaveDirectoryInfo(ProfileWindowsDirectory, "Application Data", true, "Application Data", true);
SaveDirectoryInfo(ProfileWindowsDirectory, "System", true, "System", true);
SaveDirectoryInfo(ProfileWindowsDirectory, "Config", true, "Config", true);
SaveDirectoryInfo(ProfileWindowsDirectory, "Cursors", true, "Cursors", true);
@@ -337,6 +338,8 @@ namespace Histacom2.Engine
// Add Address Book into existance!
SaveDirectoryInfo(ProfileProgramsDirectory, "Outlook Express", false, "Outlook Express", true);
+ SaveDirectoryInfo(Path.Combine(ProfileWindowsDirectory, "Application Data"), "Microsoft", false, "Microsoft", true);
+ SaveDirectoryInfo(Path.Combine(ProfileWindowsDirectory, "Application Data", "Microsoft"), "Address Book", false, "Address Book", true);
CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "Outlook Express"), "WAB.exe", "addressbook", 8, 512);
// There is no "The Microsoft Network" folder!
@@ -382,7 +385,7 @@ namespace Histacom2.Engine
info.SubDirs = new List<THDirInfo>(256);
info.ByteSize = 0;
- if (updateParent == true)
+ if (updateParent)
{
if ((parent != ProfileDirectory))
{