mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 15:28:03 +03:00
Merge pull request #1221 from LPFaint99/memcard
Fix endian error. allows loading of current games save even if the memca...
This commit is contained in:
commit
9d059d1d2f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ void CEXIMemoryCard::SetupGciFolder(u16 sizeMb)
|
||||||
else if (strUniqueID.length() >= 4)
|
else if (strUniqueID.length() >= 4)
|
||||||
{
|
{
|
||||||
CountryCode = DiscIO::CountrySwitch(strUniqueID.at(3));
|
CountryCode = DiscIO::CountrySwitch(strUniqueID.at(3));
|
||||||
memcpy((u8 *)&CurrentGameId, strUniqueID.c_str(), 4);
|
CurrentGameId = BE32((u8*)strUniqueID.c_str());
|
||||||
}
|
}
|
||||||
bool ascii = true;
|
bool ascii = true;
|
||||||
std::string strDirectoryName = File::GetUserPath(D_GCUSER_IDX);
|
std::string strDirectoryName = File::GetUserPath(D_GCUSER_IDX);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue