summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-17 23:53:53 +0100
committerGitHub <noreply@github.com>2024-02-17 23:53:53 +0100
commit36108ce2bee37aff0a3beb58c6a1e48193671949 (patch)
tree421cb8260a6251825f2924c05f8781cb89b380d8
parentMerge pull request #13016 from german77/set-interface2 (diff)
parentClose reference to TimeZoneBinary on game close (diff)
downloadyuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar.gz
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar.bz2
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar.lz
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar.xz
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.tar.zst
yuzu-36108ce2bee37aff0a3beb58c6a1e48193671949.zip
-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;