diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-25 14:19:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 14:19:01 -0500 |
| commit | d45561ace069024f47ed710d1165b607644d1ec3 (patch) | |
| tree | a316f59c5a722dc15fe5c49b3641d9801c264970 /src/core/hle/service/psc/time/common.cpp | |
| parent | f3749394ac5700a2438cdc4d6536941e02b92939 (diff) | |
| parent | e4915fb7d2077584a11a15141bc81d28ed2b0125 (diff) | |
Merge pull request #12499 from Kelebek1/time
Rework time services
Diffstat (limited to 'src/core/hle/service/psc/time/common.cpp')
| -rw-r--r-- | src/core/hle/service/psc/time/common.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/hle/service/psc/time/common.cpp b/src/core/hle/service/psc/time/common.cpp new file mode 100644 index 000000000..a6d9f02ca --- /dev/null +++ b/src/core/hle/service/psc/time/common.cpp @@ -0,0 +1,16 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/core.h" +#include "core/hle/service/psc/time/common.h" + +namespace Service::PSC::Time { +OperationEvent::OperationEvent(Core::System& system) + : m_ctx{system, "Time:OperationEvent"}, m_event{ + m_ctx.CreateEvent("Time:OperationEvent:Event")} {} + +OperationEvent::~OperationEvent() { + m_ctx.CloseEvent(m_event); +} + +} // namespace Service::PSC::Time |
