Fix dolphin rendering
This commit is contained in:
1 parent
36db89c36e
commit
ff77f8cfa0
4 files changed
+4
-9
No files matched your search
@@ -9,8 +9,8 @@
|
||||
|
||||
double_t timeGetRealDolphin(void) {
|
||||
// "Returns time in ticks since 2000"
|
||||
u64 timeInMillis = PPCTicksToMs(SYS_Time());
|
||||
double_t timeSeconds = (double_t)timeInMillis / 1000.0;
|
||||
u64 timeInUs = PPCTicksToUs(SYS_Time());
|
||||
double_t timeSeconds = (double_t)timeInUs / 1000000.0;
|
||||
|
||||
// Time to adjust time from 2000 to 1970, in seconds
|
||||
double_t timeOffset = 946684800.0;
|
||||
|
||||
Reference in new issue
Block a user