mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-24 23:52:55 +00:00
misc: chore: Use explicit types in Memory project
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Ryujinx.Memory
|
||||
|
||||
public static nint CreateSharedMemory(nint size, bool reserve)
|
||||
{
|
||||
var prot = reserve ? FileMapProtection.SectionReserve : FileMapProtection.SectionCommit;
|
||||
FileMapProtection prot = reserve ? FileMapProtection.SectionReserve : FileMapProtection.SectionCommit;
|
||||
|
||||
nint handle = WindowsApi.CreateFileMapping(
|
||||
WindowsApi.InvalidHandleValue,
|
||||
|
||||
Reference in New Issue
Block a user