diff options
| author | comex <comexk@gmail.com> | 2014-10-06 23:21:36 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-10-06 23:21:36 -0400 |
| commit | 9d059d1d2fc74eb8f2a68fee33576c9bec56f83c (patch) | |
| tree | f6d0ef527cca0d1340898f54aeca90ff89fe3a68 /Source/Core | |
| parent | 1b573c4ca09889e9e45fcf53db2cafb9f5312d64 (diff) | |
| parent | 5dec94376206a6d2515b719fed4b2e8b9dcb2bfd (diff) | |
Merge pull request #1221 from LPFaint99/memcard
Fix endian error. allows loading of current games save even if the memca...
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp b/Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp index fb6c7ef832..c4eba3453f 100644 --- a/Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp +++ b/Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp @@ -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); |
