aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-10-12 18:09:15 -0700
committerbunnei <bunneidev@gmail.com>2020-10-12 18:09:15 -0700
commit62c6c9f6a6dbc44de5fa8e03187fb34037958d5f (patch)
tree4e232d3671fbb761a9c5eaa6e5d84ad12193fec3 /src/core/core.h
parent4c348f406958a2d4f314a7ccecb310f902370e28 (diff)
service: time: Update current time with changes to RTC setting.
- This can be used to advance time, e.g. for Pokemon Sword/Shield pokejobs.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 27efe30bb4..6db896bae0 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -69,6 +69,10 @@ namespace SM {
class ServiceManager;
} // namespace SM
+namespace Time {
+class TimeManager;
+} // namespace Time
+
} // namespace Service
namespace Tegra {
@@ -361,6 +365,10 @@ public:
const Service::LM::Manager& GetLogManager() const;
+ Service::Time::TimeManager& GetTimeManager();
+
+ const Service::Time::TimeManager& GetTimeManager() const;
+
void SetExitLock(bool locked);
bool GetExitLock() const;