Add empty PTM service for CubicNinja

This commit is contained in:
wheremyfoodat 2022-10-15 14:17:10 +03:00
parent 5d15efe72c
commit 49dc526347
7 changed files with 61 additions and 12 deletions

21
src/core/services/ptm.cpp Normal file
View 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);
}
}