mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 11:02:28 +02:00
Export wii saves to the "User" directory
This commit is contained in:
parent
557c3db462
commit
1b65456738
@ -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
Block a user