mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-20 05:51:44 +12:00
[SRV] Empty CECD/MIC services for MK7 and 3D Land
This commit is contained in:
parent
1147824709
commit
55ca643c5d
9 changed files with 100 additions and 3 deletions
18
include/services/cecd.hpp
Normal file
18
include/services/cecd.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class CECDService {
|
||||
Handle handle = KernelHandles::CECD;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, cecdLogger)
|
||||
|
||||
// Service commands
|
||||
|
||||
public:
|
||||
CECDService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
18
include/services/mic.hpp
Normal file
18
include/services/mic.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class MICService {
|
||||
Handle handle = KernelHandles::MIC;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, micLogger)
|
||||
|
||||
// Service commands
|
||||
|
||||
public:
|
||||
MICService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
|
@ -4,12 +4,14 @@
|
|||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
#include "services/apt.hpp"
|
||||
#include "services/cecd.hpp"
|
||||
#include "services/cfg.hpp"
|
||||
#include "services/dsp.hpp"
|
||||
#include "services/hid.hpp"
|
||||
#include "services/fs.hpp"
|
||||
#include "services/gsp_gpu.hpp"
|
||||
#include "services/gsp_lcd.hpp"
|
||||
#include "services/mic.hpp"
|
||||
#include "services/ndm.hpp"
|
||||
#include "services/ptm.hpp"
|
||||
|
||||
|
@ -21,12 +23,14 @@ class ServiceManager {
|
|||
MAKE_LOG_FUNCTION(log, srvLogger)
|
||||
|
||||
APTService apt;
|
||||
CECDService cecd;
|
||||
CFGService cfg;
|
||||
DSPService dsp;
|
||||
HIDService hid;
|
||||
FSService fs;
|
||||
GPUService gsp_gpu;
|
||||
LCDService gsp_lcd;
|
||||
MICService mic;
|
||||
NDMService ndm;
|
||||
PTMService ptm;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue