mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-20 05:51:44 +12:00
Add empty cfg:u service
This commit is contained in:
parent
e02ef8a213
commit
1ddba7737f
7 changed files with 55 additions and 9 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue