diff --git a/misc/macclassic/68APPL.r b/misc/macclassic/68APPL.r index de74bd0b0..2a78e8d48 100644 --- a/misc/macclassic/68APPL.r +++ b/misc/macclassic/68APPL.r @@ -18,6 +18,6 @@ resource 'SIZE' (-1) { reserved, reserved, reserved, - 8192 * 1024, + 3072 * 1024, 8192 * 1024 }; diff --git a/misc/macclassic/ppcAPPL.r b/misc/macclassic/ppcAPPL.r index 5d0c59166..232824164 100644 --- a/misc/macclassic/ppcAPPL.r +++ b/misc/macclassic/ppcAPPL.r @@ -27,6 +27,6 @@ resource 'SIZE' (-1) { reserved, reserved, reserved, - 8192 * 1024, + 3072 * 1024, 8192 * 1024 }; diff --git a/src/Platform_MacClassic.c b/src/Platform_MacClassic.c index e3ef56c19..91f6b33a9 100644 --- a/src/Platform_MacClassic.c +++ b/src/Platform_MacClassic.c @@ -141,10 +141,15 @@ void DateTime_CurrentLocal(struct DateTime* t) { /*########################################################################################################################* *--------------------------------------------------------Stopwatch--------------------------------------------------------* *#########################################################################################################################*/ -#define NS_PER_SEC 1000000000ULL +#define MS_PER_SEC 1000000ULL cc_uint64 Stopwatch_Measure(void) { - //return TickCount(); + if (sysVersion < 0x7000) { + // 60 ticks a second + cc_uint64 count = TickCount(); + return count * MS_PER_SEC / 60; + } + UnsignedWide count; Microseconds(&count); return (cc_uint64)count.lo | ((cc_uint64)count.hi << 32); diff --git a/src/Window_MacClassic.c b/src/Window_MacClassic.c index d2928bb31..bb77fdf2a 100644 --- a/src/Window_MacClassic.c +++ b/src/Window_MacClassic.c @@ -81,6 +81,7 @@ void Window_PreInit(void) { long tmpLong = 0; Gestalt(gestaltQuickdrawVersion, &tmpLong); hasColorQD = tmpLong >= gestalt32BitQD; + if (!hasColorQD) Platform_LogConst("RUNNING IN SLOW MODE"); } void Window_Init(void) {