mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-14 04:36:59 +00:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
parent
a09d314817
commit
dfb4854d19
172 changed files with 902 additions and 914 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue