mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-04 20:35:46 +00:00
Add a GetSpan method to the memory manager and use it on GPU (#877)
This commit is contained in:
@@ -8,8 +8,8 @@ namespace Ryujinx.Graphics.GAL
|
||||
|
||||
byte[] GetData(int offset, int size);
|
||||
|
||||
void SetData(Span<byte> data);
|
||||
void SetData(ReadOnlySpan<byte> data);
|
||||
|
||||
void SetData(int offset, Span<byte> data);
|
||||
void SetData(int offset, ReadOnlySpan<byte> data);
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,6 @@ namespace Ryujinx.Graphics.GAL
|
||||
|
||||
byte[] GetData();
|
||||
|
||||
void SetData(Span<byte> data);
|
||||
void SetData(ReadOnlySpan<byte> data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user