Rename variable in WiiSaveCrypted for icc.

Changes file dialog to show *.bin for wii save import instead of data.bin
Move Sram dumps to Sram.cpp and change default FlashID
Fixes issue 3711.
Fixes issue 3042.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6588 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2010-12-15 21:23:42 +00:00
parent 77837b8034
commit aee96e12c6
5 changed files with 54 additions and 60 deletions

View File

@ -491,7 +491,7 @@ void CWiiSaveCrypted::make_ec_cert(u8 *cert, u8 *sig, char *signer, char *name,
ec_priv_to_pub(priv, cert + 0x108);
}
bool CWiiSaveCrypted::getPaths(bool _export)
bool CWiiSaveCrypted::getPaths(bool forExport)
{
if (_saveGameTitle)
{
@ -501,7 +501,7 @@ bool CWiiSaveCrypted::getPaths(bool _export)
(u8)(_saveGameTitle >> 24) & 0xFF, (u8)(_saveGameTitle >> 16) & 0xFF,
(u8)(_saveGameTitle >> 8) & 0xFF, (u8)_saveGameTitle & 0xFF);
}
if (_export)
if (forExport)
{
if(!File::IsDirectory(pathSavedir))
{

View File

@ -42,7 +42,7 @@ public:
void do_sig();
void make_ec_cert(u8 *cert, u8 *sig, char *signer, char *name, u8 *priv,
u32 key_id);
bool getPaths(bool _export = false);
bool getPaths(bool forExport = false);
void ScanForFiles(std::string savDir, std::vector<std::string>&FilesList, u32 *_numFiles, u32 *_sizeFiles);
private: