diff options
author | Adrian Graber <adrian@adriangraber.com> | 2021-07-13 00:41:56 +0200 |
---|---|---|
committer | Adrian Graber <adrian@adriangraber.com> | 2021-07-13 00:50:49 +0200 |
commit | 207378c94716f8c97600f39f63dff526de293a50 (patch) | |
tree | a911b980cb4e490fa9a02171691dc6eba03528c6 /src | |
parent | Save current usable memory for Switch application (diff) | |
download | re3-207378c94716f8c97600f39f63dff526de293a50.tar re3-207378c94716f8c97600f39f63dff526de293a50.tar.gz re3-207378c94716f8c97600f39f63dff526de293a50.tar.bz2 re3-207378c94716f8c97600f39f63dff526de293a50.tar.lz re3-207378c94716f8c97600f39f63dff526de293a50.tar.xz re3-207378c94716f8c97600f39f63dff526de293a50.tar.zst re3-207378c94716f8c97600f39f63dff526de293a50.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index 6d4cade9..2282a040 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -561,7 +561,7 @@ psInitialize(void) debug("Physical memory size %llu\n", _dwMemAvailPhys); debug("Available physical memory %llu\n", size); #elif defined (__SWITCH__) - svcGetInfo(&_dwMemAvailPhys, 7, 0xffff8001, 0); + svcGetInfo(&_dwMemAvailPhys, InfoType_UsedMemorySize, CUR_PROCESS_HANDLE, 0); debug("Physical memory size %llu\n", _dwMemAvailPhys); #else struct sysinfo systemInfo; |