Fix Forecast Channel

This commit is contained in:
John Pansera 2017-07-06 20:28:33 -04:00
parent 29cc009706
commit 72c573f6dc
1 changed files with 2 additions and 2 deletions

View File

@ -65,13 +65,13 @@ IPCCommandResult NetKDTime::IOCtl(const IOCtlRequest& request)
u64 NetKDTime::GetAdjustedUTC() const
{
return ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::WII_EPOCH) +
return ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::UNIX_EPOCH) +
utcdiff;
}
void NetKDTime::SetAdjustedUTC(u64 wii_utc)
{
utcdiff = ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::WII_EPOCH) -
utcdiff = ExpansionInterface::CEXIIPL::GetEmulatedTime(ExpansionInterface::CEXIIPL::UNIX_EPOCH) -
wii_utc;
}
} // namespace Device