misc: chore: Use explicit types in Memory project

This commit is contained in:
Evan Husted
2025-01-25 14:09:36 -06:00
parent ac401034d7
commit fe661dc750
14 changed files with 48 additions and 48 deletions

View File

@@ -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,