misc: chore: Use collection expressions in Memory project

This commit is contained in:
Evan Husted 2025-01-26 15:46:58 -06:00
parent 2853f5b426
commit 46a5cafaa8
4 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ namespace Ryujinx.Memory
{
_pageSize = MemoryBlock.GetPageSize();
_reservedBlock = new MemoryBlock(size, MemoryAllocationFlags.Reserve | MemoryAllocationFlags.ViewCompatible);
_mappedBlocks = new List<MemoryBlock>();
_mappedBlocks = [];
_pageInit = pageInit;
int pages = (int)BitUtils.DivRoundUp(size, _pageSize);