mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-29 04:26:24 +02:00
misc: chore: Use collection expressions in Memory project
This commit is contained in:
parent
2853f5b426
commit
46a5cafaa8
4 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue