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

21 lines
283 B
C
Raw Normal View History

#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;
}