Fixed compiling on Mac OS X, added a system RAM test

This commit is contained in:
Sam Lantinga 2013-10-17 11:56:33 -07:00
parent 73ef0c776e
commit 308e51f9a2
2 changed files with 2 additions and 1 deletions

View file

@ -153,6 +153,7 @@ TestCPUInfo(SDL_bool verbose)
SDL_Log("SSE3 %s\n", SDL_HasSSE3()? "detected" : "not detected");
SDL_Log("SSE4.1 %s\n", SDL_HasSSE41()? "detected" : "not detected");
SDL_Log("SSE4.2 %s\n", SDL_HasSSE42()? "detected" : "not detected");
SDL_Log("System RAM %d MB\n", SDL_GetSystemRAM());
}
return (0);
}