2
0
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:
2022-02-26 08:42:42 -08:00
parent 586268c66f
commit 7a59585c70
12 changed files with 170 additions and 35 deletions

View File

@@ -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);