mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-17 20:32:45 +01:00
Close reference to TimeZoneBinary on game close
This commit is contained in:
parent
c7588c042b
commit
34fb14ec9a
2 changed files with 5 additions and 0 deletions
|
@ -186,6 +186,10 @@ TimeManager::TimeManager(Core::System& system)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TimeManager::~TimeManager() {
|
||||||
|
ResetTimeZoneBinary();
|
||||||
|
}
|
||||||
|
|
||||||
Result TimeManager::SetupStandardSteadyClockCore() {
|
Result TimeManager::SetupStandardSteadyClockCore() {
|
||||||
Common::UUID external_clock_source_id{};
|
Common::UUID external_clock_source_id{};
|
||||||
auto res = m_set_sys->GetExternalSteadyClockSourceId(&external_clock_source_id);
|
auto res = m_set_sys->GetExternalSteadyClockSourceId(&external_clock_source_id);
|
||||||
|
|
|
@ -26,6 +26,7 @@ namespace Service::Glue::Time {
|
||||||
class TimeManager {
|
class TimeManager {
|
||||||
public:
|
public:
|
||||||
explicit TimeManager(Core::System& system);
|
explicit TimeManager(Core::System& system);
|
||||||
|
~TimeManager();
|
||||||
|
|
||||||
std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys;
|
std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue