Skip to content

Commit

Permalink
Merge pull request #69 from VFansss/developer
Browse files Browse the repository at this point in the history
Fix a fatal crash when moving savegames to the new location
  • Loading branch information
VFansss authored Jan 4, 2019
2 parents 0427930 + db8e349 commit ed82b48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mgs2 v's fix/Ocelot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,8 @@ public static void MoveSavegamesToNewLocation()
string oldSavedataPath = Directory.GetParent(Application.StartupPath).FullName + "\\savedata";
string newSavedataPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\My Games\\METAL GEAR SOLID 2 SUBSTANCE";

Directory.CreateDirectory(newSavedataPath);

Directory.Move(oldSavedataPath, newSavedataPath);

// Create a file to remember the user to check to new location
Expand Down

0 comments on commit ed82b48

Please sign in to comment.