mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
misc: Replace IntPtr/UIntPtr with nint/nuint
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Ryujinx.Headless
|
|||||||
|
|
||||||
fixed (byte* iconPtr = iconBytes)
|
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_Surface* iconHandle = SDL_LoadBMP_IO(rwOpsStruct, true);
|
||||||
|
|
||||||
SDL_SetWindowIcon(WindowHandle, iconHandle);
|
SDL_SetWindowIcon(WindowHandle, iconHandle);
|
||||||
|
|||||||
Reference in New Issue
Block a user