Merge pull request #2952 from lioncash/constexpr

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

No files matched your search

+1 -1
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);
}