Skip to content

Commit db8e349

Browse files
committed
Fix a fatal crash when moving savegames to the new location
1 parent 3ae0a0c commit db8e349

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mgs2 v's fix/Ocelot.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1813,6 +1813,8 @@ public static void MoveSavegamesToNewLocation()
18131813
string oldSavedataPath = Directory.GetParent(Application.StartupPath).FullName + "\\savedata";
18141814
string newSavedataPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\My Games\\METAL GEAR SOLID 2 SUBSTANCE";
18151815

1816+
Directory.CreateDirectory(newSavedataPath);
1817+
18161818
Directory.Move(oldSavedataPath, newSavedataPath);
18171819

18181820
// Create a file to remember the user to check to new location

0 commit comments

Comments
 (0)