diff options
author | Fernando S <fsahmkow27@gmail.com> | 2024-02-02 15:10:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 15:10:46 +0100 |
commit | 6baf965777145fd9c76bd06a3c140afa46a50e87 (patch) | |
tree | 52a9b8ea293bb9b378e7e662b92e9c56d1f87d4c /src/core/hle/service/psc/time/clocks/system_clock_core.cpp | |
parent | Merge pull request #12845 from liamwhite/notif (diff) | |
parent | service: use const references for input raw data (diff) | |
download | yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.gz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.bz2 yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.lz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.xz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.zst yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.zip |
Diffstat (limited to 'src/core/hle/service/psc/time/clocks/system_clock_core.cpp')
-rw-r--r-- | src/core/hle/service/psc/time/clocks/system_clock_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/psc/time/clocks/system_clock_core.cpp b/src/core/hle/service/psc/time/clocks/system_clock_core.cpp index c507ef517..2b7466831 100644 --- a/src/core/hle/service/psc/time/clocks/system_clock_core.cpp +++ b/src/core/hle/service/psc/time/clocks/system_clock_core.cpp @@ -51,12 +51,12 @@ Result SystemClockCore::GetContext(SystemClockContext& out_context) const { R_SUCCEED(); } -Result SystemClockCore::SetContext(SystemClockContext& context) { +Result SystemClockCore::SetContext(const SystemClockContext& context) { m_context = context; R_SUCCEED(); } -Result SystemClockCore::SetContextAndWrite(SystemClockContext& context) { +Result SystemClockCore::SetContextAndWrite(const SystemClockContext& context) { R_TRY(SetContext(context)); if (m_context_writer) { |