misc: Replace IntPtr/UIntPtr with nint/nuint

This commit is contained in:
KeatonTheBot
2026-04-21 16:26:47 -05:00
parent 20a9ecaebf
commit 36767d7fce
3 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ namespace Ryujinx.Headless
fixed (byte* iconPtr = iconBytes)
{
SDL_IOStream* rwOpsStruct = SDL_IOFromConstMem((nint)iconPtr, (UIntPtr)iconBytes.Length);
SDL_IOStream* rwOpsStruct = SDL_IOFromConstMem((nint)iconPtr, (uint)iconBytes.Length);
SDL_Surface* iconHandle = SDL_LoadBMP_IO(rwOpsStruct, true);
SDL_SetWindowIcon(WindowHandle, iconHandle);