mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 00:59:13 +00:00
Use RE'd CStopwatch adapted for std::chrono, get metaforce linking again
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
#endif
|
||||
|
||||
#include "Runtime/CBasics.hpp"
|
||||
|
||||
#include "Runtime/CStopwatch.hpp"
|
||||
|
||||
#include <logvisor/logvisor.hpp>
|
||||
|
||||
#if __APPLE__
|
||||
@@ -42,6 +45,7 @@ static LARGE_INTEGER PerfFrequency;
|
||||
namespace metaforce {
|
||||
static logvisor::Module LogModule("metaforce::CBasics");
|
||||
void CBasics::Initialize() {
|
||||
CStopwatch::InitGlobalTimer();
|
||||
#if __APPLE__
|
||||
mach_timebase_info_data_t timebase;
|
||||
mach_timebase_info(&timebase);
|
||||
|
||||
Reference in New Issue
Block a user