diff --git a/src/SDL2.cs b/src/SDL2.cs index 8b4bf9f..7f4c1a6 100644 --- a/src/SDL2.cs +++ b/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 + + /// + /// 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 } }