[Kernel] Fixed issue with WINE crash while opening played titles or achievements tab

This commit is contained in:
Gliniak
2025-10-06 21:40:38 +02:00
committed by Radosław Gliński
parent 703531d541
commit 2e9c459846
5 changed files with 20 additions and 17 deletions

View File

@@ -89,13 +89,15 @@ struct NtSystemClock {
return sys_time{cdp.time_since_epoch()};
}
// TODO(Gliniak): Disable until WINE will implement tzdb.
/*
template <Domain domain_fresh_ = domain_>
static constexpr std::enable_if_t<
domain_fresh_ == Domain::Host,
std::chrono::local_time<std::chrono::system_clock::duration>>
to_local(const time_point& tp) {
return std::chrono::current_zone()->to_local(to_sys(tp));
}
}*/
template <Domain domain_fresh_ = domain_>
static constexpr std::enable_if_t<domain_fresh_ == Domain::Host, time_point>