mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Add DLP::SRVR service
This commit is contained in:
parent
4767a2053b
commit
7034aa27d7
7 changed files with 67 additions and 6 deletions
21
include/services/dlp_srvr.hpp
Normal file
21
include/services/dlp_srvr.hpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
// Please forgive me for how everything in this file is named
|
||||
// "dlp:SRVR" is not a nice name to work with
|
||||
class DlpSrvrService {
|
||||
Handle handle = KernelHandles::DLP_SRVR;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, dlpSrvrLogger)
|
||||
|
||||
// Service commands
|
||||
void isChild(u32 messagePointer);
|
||||
|
||||
public:
|
||||
DlpSrvrService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
|
@ -12,6 +12,7 @@
|
|||
#include "services/cam.hpp"
|
||||
#include "services/cecd.hpp"
|
||||
#include "services/cfg.hpp"
|
||||
#include "services/dlp_srvr.hpp"
|
||||
#include "services/dsp.hpp"
|
||||
#include "services/hid.hpp"
|
||||
#include "services/frd.hpp"
|
||||
|
@ -46,6 +47,7 @@ class ServiceManager {
|
|||
CAMService cam;
|
||||
CECDService cecd;
|
||||
CFGService cfg;
|
||||
DlpSrvrService dlp_srvr;
|
||||
DSPService dsp;
|
||||
HIDService hid;
|
||||
FRDService frd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue