summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2024-02-17 16:59:09 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2024-02-17 17:00:14 +0100
commit34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7 (patch)
tree421cb8260a6251825f2924c05f8781cb89b380d8 /src/core/hle
parentMerge pull request #13016 from german77/set-interface2 (diff)
downloadyuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar.gz
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar.bz2
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar.lz
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar.xz
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.tar.zst
yuzu-34fb14ec9a50e3d56ceba9ba8f9f65935bb87db7.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/glue/time/manager.cpp4
-rw-r--r--src/core/hle/service/glue/time/manager.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/glue/time/manager.cpp b/src/core/hle/service/glue/time/manager.cpp
index cad755fa7..059ac3fc9 100644
--- a/src/core/hle/service/glue/time/manager.cpp
+++ b/src/core/hle/service/glue/time/manager.cpp
@@ -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);
diff --git a/src/core/hle/service/glue/time/manager.h b/src/core/hle/service/glue/time/manager.h
index 1de93f8f9..bb4b65049 100644
--- a/src/core/hle/service/glue/time/manager.h
+++ b/src/core/hle/service/glue/time/manager.h
@@ -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;