Merge pull request #361 from LPFaint99/wiisave
Export wii saves to the "User" directory
This commit is contained in:
commit
6544d53c16
|
@ -572,7 +572,9 @@ bool CWiiSaveCrypted::getPaths(bool forExport)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (encryptedSavePath.length() == 0)
|
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);
|
encryptedSavePath += StringFromFormat("/private/wii/title/%s/data.bin", GameID);
|
||||||
File::CreateFullPath(encryptedSavePath);
|
File::CreateFullPath(encryptedSavePath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue