diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-26 15:11:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-26 15:39:49 +0200 |
commit | dcb91ca4a4a97d279d01ebe010e07298acca1ba9 (patch) | |
tree | 873cdb75aadc3be02c833c205d8e37c375fa49dd /src/core/hle/service/time/system_clock_core.cpp | |
parent | Merge pull request #6198 from Kewlan/favorite-games (diff) | |
download | yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.gz yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.bz2 yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.lz yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.xz yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.zst yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.zip |
Diffstat (limited to 'src/core/hle/service/time/system_clock_core.cpp')
-rw-r--r-- | src/core/hle/service/time/system_clock_core.cpp | 10 |
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 { |