summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time/system_clock_core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-27 01:19:49 +0200
committerGitHub <noreply@github.com>2021-04-27 01:19:49 +0200
commitcd80471c902540ae1086732234d45b6fb5b2e169 (patch)
tree7a58e71917ee449e441e726b662b78757a3310d8 /src/core/hle/service/time/system_clock_core.cpp
parentMerge pull request #6236 from Morph1984/swkbd-button-hint-scaling (diff)
parentservice: Eliminate cases of member shadowing (diff)
downloadyuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.gz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.bz2
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.lz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.xz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.zst
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.zip
Diffstat (limited to 'src/core/hle/service/time/system_clock_core.cpp')
-rw-r--r--src/core/hle/service/time/system_clock_core.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/time/system_clock_core.cpp b/src/core/hle/service/time/system_clock_core.cpp
index d31d4e2ca..46fc8c6c3 100644
--- a/src/core/hle/service/time/system_clock_core.cpp
+++ b/src/core/hle/service/time/system_clock_core.cpp
@@ -45,18 +45,18 @@ ResultCode SystemClockCore::SetCurrentTime(Core::System& system, s64 posix_time)
return Flush(clock_context);
}
-ResultCode SystemClockCore::Flush(const SystemClockContext& context) {
+ResultCode SystemClockCore::Flush(const SystemClockContext& clock_context) {
if (!system_clock_context_update_callback) {
return RESULT_SUCCESS;
}
- return system_clock_context_update_callback->Update(context);
+ return system_clock_context_update_callback->Update(clock_context);
}
-ResultCode SystemClockCore::SetSystemClockContext(const SystemClockContext& context) {
- if (const ResultCode result{SetClockContext(context)}; result != RESULT_SUCCESS) {
+ResultCode SystemClockCore::SetSystemClockContext(const SystemClockContext& clock_context) {
+ if (const ResultCode result{SetClockContext(clock_context)}; result != RESULT_SUCCESS) {
return result;
}
- return Flush(context);
+ return Flush(clock_context);
}
bool SystemClockCore::IsClockSetup(Core::System& system) const {