Add empty cfg:u service
This commit is contained in:
15
include/services/cfg.hpp
Normal file
15
include/services/cfg.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class CFGService {
|
||||
Handle handle = KernelHandles::CFG;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, cfgLogger)
|
||||
|
||||
public:
|
||||
CFGService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
#include "services/apt.hpp"
|
||||
#include "services/cfg.hpp"
|
||||
#include "services/dsp.hpp"
|
||||
#include "services/hid.hpp"
|
||||
#include "services/fs.hpp"
|
||||
@@ -19,6 +20,7 @@ class ServiceManager {
|
||||
MAKE_LOG_FUNCTION(log, srvLogger)
|
||||
|
||||
APTService apt;
|
||||
CFGService cfg;
|
||||
DSPService dsp;
|
||||
HIDService hid;
|
||||
FSService fs;
|
||||
|
||||
Reference in New Issue
Block a user