Merge pull request #2952 from lioncash/constexpr
CommonFuncs: Replace ArraySize define with constexpr equivalent
This commit is contained in:
commit
a09b9bef8d
3 files changed
+7
-9
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user