mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 19:45:49 +00:00
Merge pull request #2952 from lioncash/constexpr
CommonFuncs: Replace ArraySize define with constexpr equivalent
This commit is contained in:
commit
a09b9bef8d
3 changed files with 7 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue