Merge pull request #2952 from lioncash/constexpr

CommonFuncs: Replace ArraySize define with constexpr equivalent
This commit is contained in:
shuffle2 2015-09-03 22:56:25 -07:00
commit a09b9bef8d
3 changed files with 7 additions and 9 deletions

View file

@ -132,7 +132,7 @@ CEXIMemoryCard::CEXIMemoryCard(const int index, bool gciFolder)
memory_card_size = memorycard->GetCardId() * SIZE_TO_Mb;
u8 header[20] = {0};
memorycard->Read(0, ArraySize(header), header);
memorycard->Read(0, static_cast<s32>(ArraySize(header)), header);
SetCardFlashID(header, card_index);
}