mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-15 16:21:44 +00:00
Fix endian error. allows loading of current games save even if the memcard is mostly full
This commit is contained in:
parent
47bf698b70
commit
5dec943762
@ -152,7 +152,7 @@ void CEXIMemoryCard::SetupGciFolder(u16 sizeMb)
|
||||
else if (strUniqueID.length() >= 4)
|
||||
{
|
||||
CountryCode = DiscIO::CountrySwitch(strUniqueID.at(3));
|
||||
memcpy((u8 *)&CurrentGameId, strUniqueID.c_str(), 4);
|
||||
CurrentGameId = BE32((u8*)strUniqueID.c_str());
|
||||
}
|
||||
bool ascii = true;
|
||||
std::string strDirectoryName = File::GetUserPath(D_GCUSER_IDX);
|
||||
|
Loading…
x
Reference in New Issue
Block a user