Export wii saves to the "User" directory

This commit is contained in:
LPFaint99 2014-05-11 22:23:21 -07:00
parent 557c3db462
commit 1b65456738
1 changed files with 3 additions and 1 deletions

View File

@ -572,7 +572,9 @@ bool CWiiSaveCrypted::getPaths(bool forExport)
return false;
}
if (encryptedSavePath.length() == 0)
encryptedSavePath = "."; // If no path was passed, use current dir
{
encryptedSavePath = File::GetUserPath(D_USER_IDX); // If no path was passed, use User folder
}
encryptedSavePath += StringFromFormat("/private/wii/title/%s/data.bin", GameID);
File::CreateFullPath(encryptedSavePath);
}