mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 20:49:12 +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
21
src/core/services/ptm.cpp
Normal file
21
src/core/services/ptm.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include "services/ptm.hpp"
|
||||
|
||||
namespace PTMCommands {
|
||||
enum : u32 {
|
||||
};
|
||||
}
|
||||
|
||||
namespace Result {
|
||||
enum : u32 {
|
||||
Success = 0,
|
||||
};
|
||||
}
|
||||
|
||||
void PTMService::reset() {}
|
||||
|
||||
void PTMService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
default: Helpers::panic("PTM service requested. Command: %08X\n", command);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue