Fixed Time low-memory global on Mac OS X port.

This commit is contained in:
Clifford Matthews 2009-06-14 17:19:36 -06:00
parent 8bd495f3db
commit 27727108b3
2 changed files with 4 additions and 2 deletions

2
TODO
View File

@ -1,3 +1,5 @@
Get rid of old copy-protection stuff
package up the System Folder and whatnot so that people w/o the
old executor-aux can run Executor

View File

@ -1319,7 +1319,7 @@ P0 (PUBLIC pascal trap, LONGINT, TickCount)
will get set eventually and that will
cause trouble */
new_time = (UNIXTIMETOMACTIME (ROMlib_start_time.tv_sec)
+ ((ROMlib_start_time.tv_usec / (1000000.0 / 60) + ticks) / 60));
+ (long) ((ROMlib_start_time.tv_usec / (1000000.0 / 60) + ticks) / 60));
Time = CL (new_time);
return ticks;