mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-25 16:12:22 -05:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
@@ -225,7 +225,7 @@ namespace Ryujinx.Input.SDL2
|
||||
|
||||
unsafe
|
||||
{
|
||||
IntPtr statePtr = SDL_GetKeyboardState(out int numKeys);
|
||||
nint statePtr = SDL_GetKeyboardState(out int numKeys);
|
||||
|
||||
rawKeyboardState = new ReadOnlySpan<byte>((byte*)statePtr, numKeys);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user