mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 05:55:31 +00:00
Merge branch 'sdl2cs-system-ram' of git://github.com/babelshift/SDL2-CS into sdl2-hg
This commit is contained in:
commit
8facd9f0b0
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);
|
||||
|
@ -5311,5 +5312,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