Fix circular dependency between systeminfo.h and time.h

This commit is contained in:
James Benton 2018-06-18 10:04:27 +01:00
parent 9cc6aead84
commit 55edba512f
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#pragma once #pragma once
#include <wut.h> #include <wut.h>
#include "time.h"
/** /**
* \defgroup coreinit_systeminfo System Info * \defgroup coreinit_systeminfo System Info
@ -18,7 +17,7 @@ struct OSSystemInfo
{ {
uint32_t busClockSpeed; uint32_t busClockSpeed;
uint32_t coreClockSpeed; uint32_t coreClockSpeed;
OSTime baseTime; int64_t baseTime;
UNKNOWN(0x10); UNKNOWN(0x10);
}; };
CHECK_OFFSET(OSSystemInfo, 0x0, busClockSpeed); CHECK_OFFSET(OSSystemInfo, 0x0, busClockSpeed);

View File

@ -1,6 +1,5 @@
#pragma once #pragma once
#include <wut.h> #include <wut.h>
#include "systeminfo.h"
#include "context.h" #include "context.h"
#include "time.h" #include "time.h"
#include "threadqueue.h" #include "threadqueue.h"

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include <wut.h> #include <wut.h>
#include "systeminfo.h"
/** /**
* \defgroup coreinit_time Time * \defgroup coreinit_time Time