mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 09:09:15 +01:00
Use svcGetInfo definitions from libnx
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
parent
a7b38e1b34
commit
207378c947
@ -561,7 +561,7 @@ psInitialize(void)
|
|||||||
debug("Physical memory size %llu\n", _dwMemAvailPhys);
|
debug("Physical memory size %llu\n", _dwMemAvailPhys);
|
||||||
debug("Available physical memory %llu\n", size);
|
debug("Available physical memory %llu\n", size);
|
||||||
#elif defined (__SWITCH__)
|
#elif defined (__SWITCH__)
|
||||||
svcGetInfo(&_dwMemAvailPhys, 7, 0xffff8001, 0);
|
svcGetInfo(&_dwMemAvailPhys, InfoType_UsedMemorySize, CUR_PROCESS_HANDLE, 0);
|
||||||
debug("Physical memory size %llu\n", _dwMemAvailPhys);
|
debug("Physical memory size %llu\n", _dwMemAvailPhys);
|
||||||
#else
|
#else
|
||||||
struct sysinfo systemInfo;
|
struct sysinfo systemInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user