1
0
mirror of synced 2024-11-14 14:57:36 +01:00

Removed SaveData folder, MT5/5DX+ saves will be stored in root

This commit is contained in:
Damon Murdoch 2022-05-10 14:25:35 +10:00
parent 0115af8eef
commit a26ad13b55
2 changed files with 10 additions and 6 deletions

View File

@ -956,8 +956,9 @@ static int SaveGameData()
// Set the milepath memory to zero
memset(savePath, 0, 0xFF);
// Wirte the '.' into the load path
sprintf(savePath, ".\\SaveData");
// Write the '.' into the load path
// sprintf(savePath, ".\\SaveData");
sprintf(savePath, ".");
// Seperate save file / cars per user profile
if (ToBool(config["Save"]["Save Per Custom Name"]))
@ -1020,8 +1021,9 @@ static int loadGameData()
// Set the milepath memory to zero
memset(loadPath, 0, 0xFF);
// Wirte the '.' into the load path
sprintf(loadPath, ".\\SaveData");
// Write the '.' into the load path
// sprintf(loadPath, ".\\SaveData");
sprintf(loadPath, ".");
// Seperate save file / cars per user profile
if (ToBool(config["Save"]["Save Per Custom Name"]))

View File

@ -1237,7 +1237,8 @@ static int loadGameData()
memset(loadPath, 0, 0xFF);
// Wirte the '.' into the load path
sprintf(loadPath, ".\\SaveData");
// sprintf(loadPath, ".\\SaveData");
sprintf(loadPath, ".");
// Seperate save file / cars per user profile
if (ToBool(config["Save"]["Save Per Custom Name"]))
@ -1307,7 +1308,8 @@ static int SaveGameData()
memset(savePath, 0, 0xFF);
// Wirte the '.' into the load path
sprintf(savePath, ".\\SaveData");
// sprintf(savePath, ".\\SaveData");
sprintf(savePath, ".");
// Seperate save file / cars per user profile
if (ToBool(config["Save"]["Save Per Custom Name"]))