MadTracker-FOSS / MadTracker3

Continuation of the MadTracker project, aimed at Windows/Mac/Linux support
Other
38 stars 1 forks source link

Port MTSystem/MTKernel.cpp to Mac OSX (Clock) #15

Open flibitijibibo opened 11 years ago

flibitijibibo commented 11 years ago

Currently the MTKernel is set up to use the same clock for Linux and Mac, but the non-Win32 implementation only works on Linux. We need to separate Linux and Mac, and implement the clock with Mach time.

You should be able to find it quickly with make mtsystem, as those are the last remaining errors in the module before we start linking.

A useful reference project: https://github.com/ThomasHabets/monotonic_clock

flibitijibibo commented 11 years ago

I've cleaned out the file and made it so you just have to implement where the #error directives are thrown. Hopefully that will make it nicer for the person who does it. :)