2022-10-19 20:16:13 +00:00
|
|
|
#include "cmdline.h"
|
2022-10-11 02:18:42 +00:00
|
|
|
|
|
|
|
static OSErr memErr;
|
|
|
|
|
2023-01-11 22:29:53 +00:00
|
|
|
UInt32 LMGetTicks(void) {
|
2022-10-11 02:18:42 +00:00
|
|
|
return (OS_GetMilliseconds() * 60) / 1000;
|
|
|
|
}
|
|
|
|
|
2023-01-11 22:29:53 +00:00
|
|
|
UInt32 LMGetTime(void) {
|
2022-10-11 02:18:42 +00:00
|
|
|
return OS_GetMilliseconds() / 1000;
|
|
|
|
}
|
|
|
|
|
2023-01-11 22:29:53 +00:00
|
|
|
OSErr LMGetMemErr(void) {
|
2022-10-11 02:18:42 +00:00
|
|
|
return memErr;
|
|
|
|
}
|
|
|
|
|
|
|
|
void LMSetMemErr(OSErr value) {
|
|
|
|
memErr = value;
|
|
|
|
}
|
|
|
|
|