aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt/ns_c.cpp
blob: 76074c057d9bf100a42f6bd9b2a933c18c80fd9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2023 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/archives.h"
#include "core/hle/service/apt/ns_c.h"

namespace Service::NS {

NS_C::NS_C(std::shared_ptr<Service::APT::Module> apt)
    : Service::APT::Module::NSInterface(std::move(apt), "ns:c", 1) {
    static const FunctionInfo functions[] = {
        // clang-format off
        {0x0001, nullptr, "LockSpecialContent"},
        {0x0002, nullptr, "UnlockSpecialContent"},
        // clang-format on
    };
    RegisterHandlers(functions);
}

} // namespace Service::NS

SERIALIZE_EXPORT_IMPL(Service::NS::NS_C)