Added an API to get the amount of system RAM

This commit is contained in:
Sam Lantinga committed 2013-10-17 11:32:56 -07:00
1 parent 01164655c0
commit 8b79cbadef
2 files changed
+60

No files matched your search

+5
View File
@@ -134,6 +134,11 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void);
*/
extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void);
/**
* This function returns the amount of RAM configured in the system, in MB.
*/
extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus