MWCC/command_line/CmdLine/Src/MacEmul/LowMem.c

21 lines
291 B
C
Raw Normal View History

#include "cmdline.h"
static OSErr memErr;
2023-01-11 22:29:53 +00:00
UInt32 LMGetTicks(void) {
return (OS_GetMilliseconds() * 60) / 1000;
}
2023-01-11 22:29:53 +00:00
UInt32 LMGetTime(void) {
return OS_GetMilliseconds() / 1000;
}
2023-01-11 22:29:53 +00:00
OSErr LMGetMemErr(void) {
return memErr;
}
void LMSetMemErr(OSErr value) {
memErr = value;
}