mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 21:01:34 +02:00
proper virtual base, remove uneeded sysconf things
This commit is contained in:
parent
ad8cea3da9
commit
0f030ae48f
2 changed files with 1 additions and 3 deletions
|
|
@ -46,8 +46,6 @@ static MemoryInfo Detect() {
|
|||
sysctlbyname("vm.swapusage", &vmusage, &sizeof_vmusage, nullptr, 0);
|
||||
mem_info.TotalPhysicalMemory = ramsize;
|
||||
mem_info.TotalSwapMemory = vmusage.xsu_total;
|
||||
#elif defined(__OPENORBIS__)
|
||||
mem_info.TotalPhysicalMemory = mem_info.TotalSwapMemory = 0;
|
||||
#elif defined(__FreeBSD__)
|
||||
u_long physmem, swap_total;
|
||||
std::size_t sizeof_u_long = sizeof(u_long);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue