mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-05-19 11:32:19 +00:00
Merge branch 'sdl2-hg' of https://github.com/flibitijibibo/SDL2-CS
Conflicts: src/SDL2.cs
This commit is contained in:
commit
cfec5bc59f
12
src/SDL2.cs
12
src/SDL2.cs
|
@ -3795,6 +3795,7 @@ namespace SDL2
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SDL_keycode.h
|
||||
|
||||
public const int SDLK_SCANCODE_MASK = (1 << 30);
|
||||
|
@ -5368,5 +5369,16 @@ namespace SDL2
|
|||
);
|
||||
|
||||
#endregion
|
||||
|
||||
#region SDL_cpuinfo.h
|
||||
|
||||
/// <summary>
|
||||
/// This function returns the amount of RAM configured in the system, in MB.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_GetSystemRAM();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue