Fix COSOperator::getSystemMemory

The values it returns are in Kilobytes and it was broken on macOS.
This commit is contained in:
sfan5
2022-03-09 22:39:25 +01:00
parent df908ef4ea
commit e469c54f76
2 changed files with 11 additions and 11 deletions

View File

@ -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;