Merge pull request #361 from LPFaint99/wiisave

Export wii saves to the "User" directory
This commit is contained in:
shuffle2 2014-05-21 20:17:18 -07:00
commit 6544d53c16
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);
}