mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-04 12:55:22 +12:00
Started work on services
This commit is contained in:
parent
3259c5c7a6
commit
208c18356b
9 changed files with 169 additions and 18 deletions
18
include/services/service_manager.hpp
Normal file
18
include/services/service_manager.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include <array>
|
||||
#include "helpers.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class ServiceManager {
|
||||
std::array<u32, 16>& regs;
|
||||
Memory& mem;
|
||||
|
||||
// "srv:" commands
|
||||
void getServiceHandle(u32 messagePointer);
|
||||
void registerClient(u32 messagePointer);
|
||||
|
||||
public:
|
||||
ServiceManager(std::array<u32, 16>& regs, Memory& mem);
|
||||
void reset();
|
||||
void handleSyncRequest(u32 TLSPointer);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue