mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-12 13:05:26 +00:00
misc: chore: Fix object creation in ARMeilleure
This commit is contained in:
@@ -130,12 +130,12 @@ namespace ARMeilleure.Common
|
||||
if (count > _count)
|
||||
{
|
||||
long* oldMask = _masks;
|
||||
Span<long> oldSpan = new Span<long>(_masks, _count);
|
||||
Span<long> oldSpan = new(_masks, _count);
|
||||
|
||||
_masks = _allocator.Allocate<long>((uint)count);
|
||||
_count = count;
|
||||
|
||||
Span<long> newSpan = new Span<long>(_masks, _count);
|
||||
Span<long> newSpan = new(_masks, _count);
|
||||
|
||||
oldSpan.CopyTo(newSpan);
|
||||
newSpan[oldSpan.Length..].Clear();
|
||||
|
Reference in New Issue
Block a user