mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-20 05:51:44 +12:00
Add empty PTM service for CubicNinja
This commit is contained in:
parent
5d15efe72c
commit
49dc526347
7 changed files with 61 additions and 12 deletions
18
include/services/ptm.hpp
Normal file
18
include/services/ptm.hpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
#include "logger.hpp"
|
||||
#include "memory.hpp"
|
||||
|
||||
class PTMService {
|
||||
Handle handle = KernelHandles::PTM;
|
||||
Memory& mem;
|
||||
MAKE_LOG_FUNCTION(log, ptmLogger)
|
||||
|
||||
// Service commands
|
||||
|
||||
public:
|
||||
PTMService(Memory& mem) : mem(mem) {}
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
};
|
|
@ -11,6 +11,7 @@
|
|||
#include "services/gsp_gpu.hpp"
|
||||
#include "services/gsp_lcd.hpp"
|
||||
#include "services/ndm.hpp"
|
||||
#include "services/ptm.hpp"
|
||||
|
||||
class Kernel;
|
||||
|
||||
|
@ -27,6 +28,7 @@ class ServiceManager {
|
|||
GPUService gsp_gpu;
|
||||
LCDService gsp_lcd;
|
||||
NDMService ndm;
|
||||
PTMService ptm;
|
||||
|
||||
// "srv:" commands
|
||||
void enableNotification(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue