mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 08:37:52 +00:00
service: Add NFP module interface.
service: Initialize NFP service. Log: Add NFP service as a log subtype.
This commit is contained in:
parent
5ba124ea70
commit
f5c2d62b3a
8 changed files with 101 additions and 0 deletions
28
src/core/hle/service/nfp/nfp.h
Normal file
28
src/core/hle/service/nfp/nfp.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright 2018 yuzu emulator team
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace NFP {
|
||||
|
||||
class Module final {
|
||||
public:
|
||||
class Interface : public ServiceFramework<Interface> {
|
||||
public:
|
||||
Interface(std::shared_ptr<Module> module, const char* name);
|
||||
|
||||
void Unknown(Kernel::HLERequestContext& ctx);
|
||||
|
||||
protected:
|
||||
std::shared_ptr<Module> module;
|
||||
};
|
||||
};
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
} // namespace NFP
|
||||
} // namespace Service
|
Loading…
Add table
Add a link
Reference in a new issue