[common] added agnostic function sysinfo_getPageSize

This commit is contained in:
Geoffrey McRae
2020-01-13 15:52:31 +11:00
parent 7a96c9fe24
commit 0d29527758
4 changed files with 20 additions and 2 deletions

View File

@@ -17,8 +17,17 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <windows.h>
int sysinfo_gfx_max_multisample()
{
//FIXME: Implement this
return 4;
}
long sysinfo_getPageSize()
{
SYSTEM_INFO si;
GetSystemInfo(&si);
return si.dwPageSize;
}