osGetTime(): avoid using u64<->double conversions (not supported by VFP)
This commit is contained in:
parent
ac4c183868
commit
a8e08d4138
@ -49,7 +49,7 @@ u64 osGetTime() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
u64 offset = (svcGetSystemTick() - dt->update_tick) / TICKS_PER_MSEC;
|
u64 offset = (u32)((u32)(svcGetSystemTick() - dt->update_tick) / TICKS_PER_MSEC);
|
||||||
return dt->date_time + offset;
|
return dt->date_time + offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user