/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2015 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #include "xenia/base/platform_win.h" namespace xe { size_t page_size() { static size_t value = 0; if (!value) { SYSTEM_INFO si; GetSystemInfo(&si); value = si.dwAllocationGranularity; } return value; } void LaunchBrowser(const char* url) { ShellExecuteA(NULL, "open", url, NULL, NULL, SW_SHOWNORMAL); } } // namespace xe