summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/time/common.cpp
blob: a6d9f02ca33b5875ffca81069ed4871923c52b5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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