blob: 86c354746d6e59790ba72e32786633586b089e1f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "Support.h"
#include <unistd.h>
#include "SDL.h"
void Microseconds (UnsignedWide *microTickCount)
{
/* NOTE: hi isn't used in BS, so it's not implemented here */
/* TODO: does game need microsecond precision? */
microTickCount->hi = 0;
microTickCount->lo = SDL_GetTicks() * 1000;
}
OSErr FSRead(int refNum, long *count, void *buffPtr)
{
read(refNum, buffPtr, *count);
return 0;
}
|