Update changes to deal with debug warning

This commit is contained in:
zilmar 2012-10-04 10:04:08 +10:00
parent 0eacb90197
commit ff564bc11a
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ void CFlashram::DmaFromFlashram ( BYTE * dest, int StartOffset, int len)
_Notify->DisplayError("Reading m_FlashStatus not being handled correctly\nStart: %X len: %X",StartOffset,len);
#endif
}
*((DWORD *)(dest)) = (DWORD)(m_FlashStatus >> 32);
*((DWORD *)(dest) + 1) = (DWORD)(m_FlashStatus);
*((DWORD *)(dest)) = (DWORD)((m_FlashStatus >> 32) & 0xFFFFFFFF);
*((DWORD *)(dest) + 1) = (DWORD)(m_FlashStatus & 0xFFFFFFFF);
break;
#ifndef EXTERNAL_RELEASE
default: