mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 20:37:18 +12:00
Add BOSS service
This commit is contained in:
parent
243224eed3
commit
f965dea916
7 changed files with 60 additions and 5 deletions
19
include/services/boss.hpp
Normal file
19
include/services/boss.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class BOSSService {
|
||||
Handle handle = KernelHandles::BOSS;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, bossLogger)
|
||||
|
||||
// Service commands
|
||||
void initializeSession(u32 messagePointer);
|
||||
|
||||
public:
|
||||
BOSSService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
|
@ -6,6 +6,7 @@
|
|||
#include "memory.hpp"
|
||||
#include "services/ac.hpp"
|
||||
#include "services/apt.hpp"
|
||||
#include "services/boss.hpp"
|
||||
#include "services/cecd.hpp"
|
||||
#include "services/cfg.hpp"
|
||||
#include "services/dsp.hpp"
|
||||
|
@ -32,6 +33,7 @@ class ServiceManager {
|
|||
|
||||
ACService ac;
|
||||
APTService apt;
|
||||
BOSSService boss;
|
||||
CECDService cecd;
|
||||
CFGService cfg;
|
||||
DSPService dsp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue