mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-18 19:51:30 +12:00
18 lines
No EOL
372 B
C++
18 lines
No EOL
372 B
C++
#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);
|
|
}; |