diff options
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r-- | core/os/os.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index ef7d860d19..49b47c6c12 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -295,8 +295,15 @@ Error OS::set_cwd(const String &p_cwd) { return ERR_CANT_OPEN; } -uint64_t OS::get_free_static_memory() const { - return Memory::get_mem_available(); +Dictionary OS::get_memory_info() const { + Dictionary meminfo; + + meminfo["physical"] = -1; + meminfo["free"] = -1; + meminfo["available"] = -1; + meminfo["stack"] = -1; + + return meminfo; } void OS::yield() { |