mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-01 02:50:46 -07:00
Why not a nice Span.
This commit is contained in:
@ -865,7 +865,7 @@ namespace ARMeilleure.Translation.PTC
|
|||||||
_infosWriter.Write((int)ptcInfo.RelocEntriesCount); // InfoEntry.RelocEntriesCount
|
_infosWriter.Write((int)ptcInfo.RelocEntriesCount); // InfoEntry.RelocEntriesCount
|
||||||
|
|
||||||
// WriteCode.
|
// WriteCode.
|
||||||
_codesStream.Write(ptcInfo.Code, 0, ptcInfo.Code.Length);
|
_codesStream.Write(ptcInfo.Code.AsSpan());
|
||||||
|
|
||||||
// WriteReloc.
|
// WriteReloc.
|
||||||
ptcInfo.RelocStream.WriteTo(_relocsStream);
|
ptcInfo.RelocStream.WriteTo(_relocsStream);
|
||||||
|
Reference in New Issue
Block a user