mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-20 18:10:54 -05:00
misc: chore: Use explicit types in Horizon project
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Ryujinx.Horizon.Sdk.Sf
|
||||
|
||||
public static ref T GetRef<T>(PointerAndSize bufferRange) where T : unmanaged
|
||||
{
|
||||
var writableRegion = GetWritableRegion(bufferRange);
|
||||
WritableRegion writableRegion = GetWritableRegion(bufferRange);
|
||||
|
||||
return ref MemoryMarshal.Cast<byte, T>(writableRegion.Memory.Span)[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user