blob: 6b32e2cecb29ad1b0b46e80d4c58bce64658e061 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "cmdline.h"
static OSErr memErr;
UInt32 LMGetTicks(void) {
return (OS_GetMilliseconds() * 60) / 1000;
}
UInt32 LMGetTime(void) {
return OS_GetMilliseconds() / 1000;
}
OSErr LMGetMemErr(void) {
return memErr;
}
void LMSetMemErr(OSErr value) {
memErr = value;
}
|