diff --git a/pcsx2/gui/MemoryCardFolder.cpp b/pcsx2/gui/MemoryCardFolder.cpp index a0c125a219..b33074f27f 100644 --- a/pcsx2/gui/MemoryCardFolder.cpp +++ b/pcsx2/gui/MemoryCardFolder.cpp @@ -1012,7 +1012,7 @@ void FolderMemoryCard::SetSlot( uint slot ) { u32 FolderMemoryCard::GetSizeInClusters() { const u32 clusters = m_superBlock.data.clusters_per_card; - if ( clusters > 0 && clusters < UINT32_MAX ) { + if ( clusters > 0 && clusters < 0xFFFFFFFFu ) { return clusters; } else { return TotalClusters;