mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-17 11:42:54 +00:00
misc: chore: Use collection expressions in Memory project
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user