Add a bitmask in FlashRam.cpp to resolve a potential loss of data error being caused in DOUBUTSU NO MORI (Animal Crossing)

This commit is contained in:
Emmet Young 2012-10-02 17:40:14 +10:00
parent 730655dda2
commit 721e56c94c
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ void CFlashram::DmaFromFlashram ( BYTE * dest, int StartOffset, int len)
#endif
}
*((DWORD *)(dest)) = (DWORD)(m_FlashStatus >> 32);
*((DWORD *)(dest) + 1) = (DWORD)(m_FlashStatus);
*((DWORD *)(dest) + 1) = (DWORD)(m_FlashStatus &0xFFFFFFFF);
break;
#ifndef EXTERNAL_RELEASE
default: