aboutsummaryrefslogtreecommitdiff
path: root/include/IOSOperator.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-03-09 22:39:25 +0100
committersfan5 <sfan5@live.de>2022-03-09 22:52:11 +0100
commite469c54f76f6d24f92389b4e8a27b9cce7152888 (patch)
tree2a74107ba34c173df9b4b2f353b25167e384e53d /include/IOSOperator.h
parentdf908ef4eaa7fd3292faa34d690edce40106da3c (diff)
downloadirrlicht-e469c54f76f6d24f92389b4e8a27b9cce7152888.tar.xz
Fix COSOperator::getSystemMemory
The values it returns are in Kilobytes and it was broken on macOS.
Diffstat (limited to 'include/IOSOperator.h')
-rw-r--r--include/IOSOperator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/IOSOperator.h b/include/IOSOperator.h
index 5d2d42a..b195aed 100644
--- a/include/IOSOperator.h
+++ b/include/IOSOperator.h
@@ -33,8 +33,8 @@ public:
virtual const c8* getTextFromClipboard() const = 0;
//! Get the total and available system RAM
- /** \param totalBytes: will contain the total system memory in bytes
- \param availableBytes: will contain the available memory in bytes
+ /** \param totalBytes: will contain the total system memory in Kilobytes (1024 B)
+ \param availableBytes: will contain the available memory in Kilobytes (1024 B)
\return True if successful, false if not */
virtual bool getSystemMemory(u32* totalBytes, u32* availableBytes) const = 0;