mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[IR:USER] Add empty service
This commit is contained in:
parent
46207a3995
commit
1c08912a59
7 changed files with 47 additions and 2 deletions
19
include/services/ir_user.hpp
Normal file
19
include/services/ir_user.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
#include "result/result.hpp"
|
||||
|
||||
class IRUserService {
|
||||
Handle handle = KernelHandles::IR_USER;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, irUserLogger)
|
||||
|
||||
// Service commands
|
||||
|
||||
public:
|
||||
IRUserService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
|
@ -21,6 +21,7 @@
|
|||
#include "services/gsp_gpu.hpp"
|
||||
#include "services/gsp_lcd.hpp"
|
||||
#include "services/hid.hpp"
|
||||
#include "services/ir_user.hpp"
|
||||
#include "services/ldr_ro.hpp"
|
||||
#include "services/mic.hpp"
|
||||
#include "services/ndm.hpp"
|
||||
|
@ -52,6 +53,7 @@ class ServiceManager {
|
|||
DlpSrvrService dlp_srvr;
|
||||
DSPService dsp;
|
||||
HIDService hid;
|
||||
IRUserService ir_user;
|
||||
FRDService frd;
|
||||
FSService fs;
|
||||
GPUService gsp_gpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue