diff --git a/src/SDL2.cs b/src/SDL2.cs index a4587c4..5079ded 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -3794,6 +3794,7 @@ namespace SDL2 } #endregion + #region SDL_keycode.h public const int SDLK_SCANCODE_MASK = (1 << 30); @@ -5310,5 +5311,16 @@ namespace SDL2 ); #endregion + + #region SDL_cpuinfo.h + + /// + /// This function returns the amount of RAM configured in the system, in MB. + /// + /// + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern int SDL_GetSystemRAM(); + + #endregion } }