mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-28 00:35:32 +01:00
Fix Forecast Channel
This commit is contained in:
parent
29cc009706
commit
72c573f6dc
@ -65,13 +65,13 @@ IPCCommandResult NetKDTime::IOCtl(const IOCtlRequest& request)
|
|||||||
|
|
||||||
u64 NetKDTime::GetAdjustedUTC() const
|
u64 NetKDTime::GetAdjustedUTC() const
|
||||||
{
|
{
|
||||||
return ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::WII_EPOCH) +
|
return ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::UNIX_EPOCH) +
|
||||||
utcdiff;
|
utcdiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NetKDTime::SetAdjustedUTC(u64 wii_utc)
|
void NetKDTime::SetAdjustedUTC(u64 wii_utc)
|
||||||
{
|
{
|
||||||
utcdiff = ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::WII_EPOCH) -
|
utcdiff = ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::UNIX_EPOCH) -
|
||||||
wii_utc;
|
wii_utc;
|
||||||
}
|
}
|
||||||
} // namespace Device
|
} // namespace Device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user