misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.

This commit is contained in:
Evan Husted 2024-10-26 08:46:41 -05:00
parent a09d314817
commit dfb4854d19
172 changed files with 902 additions and 914 deletions

View file

@ -160,9 +160,9 @@ namespace Ryujinx.Input.SDL2
return null;
}
IntPtr gamepadHandle = SDL_GameControllerOpen(joystickIndex);
nint gamepadHandle = SDL_GameControllerOpen(joystickIndex);
if (gamepadHandle == IntPtr.Zero)
if (gamepadHandle == nint.Zero)
{
return null;
}