summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/MacEmul/LowMem.c
blob: 7fab0799909bdffdfb6f6e99d87275029735acc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "mwcc_decomp.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;
}