misc: chore: Fix object creation in Memory project

This commit is contained in:
Evan Husted 2025-01-26 15:20:28 -06:00
parent 56d373a011
commit ae92fbf539
3 changed files with 3 additions and 4 deletions

View file

@ -14,7 +14,7 @@ namespace Ryujinx.Memory
public BytesReadOnlySequenceSegment Append(Memory<byte> memory)
{
BytesReadOnlySequenceSegment nextSegment = new BytesReadOnlySequenceSegment(memory)
BytesReadOnlySequenceSegment nextSegment = new(memory)
{
RunningIndex = RunningIndex + Memory.Length
};