Browse Source
Merge pull request #13040 from Kelebek1/timezone_shutdown
Close reference to TimeZoneBinary on game close
pull/15/merge
liamwhite
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
0 deletions
-
src/core/hle/service/glue/time/manager.cpp
-
src/core/hle/service/glue/time/manager.h
|
|
|
@ -186,6 +186,10 @@ TimeManager::TimeManager(Core::System& system) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
TimeManager::~TimeManager() { |
|
|
|
ResetTimeZoneBinary(); |
|
|
|
} |
|
|
|
|
|
|
|
Result TimeManager::SetupStandardSteadyClockCore() { |
|
|
|
Common::UUID external_clock_source_id{}; |
|
|
|
auto res = m_set_sys->GetExternalSteadyClockSourceId(&external_clock_source_id); |
|
|
|
|
|
|
|
@ -26,6 +26,7 @@ namespace Service::Glue::Time { |
|
|
|
class TimeManager { |
|
|
|
public: |
|
|
|
explicit TimeManager(Core::System& system); |
|
|
|
~TimeManager(); |
|
|
|
|
|
|
|
std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys; |
|
|
|
|
|
|
|
|