summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/MacEmul/LowMem.c
blob: cd31194c76ed4181687d227475ba02369e0dda9b (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() {
    return (OS_GetMilliseconds() * 60) / 1000;
}

UInt32 LMGetTime() {
    return OS_GetMilliseconds() / 1000;
}

OSErr LMGetMemErr() {
    return memErr;
}

void LMSetMemErr(OSErr value) {
    memErr = value;
}