[BOSS] Stub GetTaskIdList
This commit is contained in:
@@ -12,6 +12,7 @@ class BOSSService {
|
||||
// Service commands
|
||||
void initializeSession(u32 messagePointer);
|
||||
void getOptoutFlag(u32 messagePointer);
|
||||
void getTaskIdList(u32 messagePointer);
|
||||
|
||||
s8 optoutFlag;
|
||||
public:
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
namespace BOSSCommands {
|
||||
enum : u32 {
|
||||
InitializeSession = 0x00010082,
|
||||
GetOptoutFlag = 0x000A0000
|
||||
GetOptoutFlag = 0x000A0000,
|
||||
GetTaskIdList = 0x000E0000
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,6 +22,7 @@ void BOSSService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
case BOSSCommands::GetOptoutFlag: getOptoutFlag(messagePointer); break;
|
||||
case BOSSCommands::GetTaskIdList: getTaskIdList(messagePointer); break;
|
||||
case BOSSCommands::InitializeSession: initializeSession(messagePointer); break;
|
||||
default: Helpers::panic("BOSS service requested. Command: %08X\n", command);
|
||||
}
|
||||
@@ -35,4 +37,9 @@ void BOSSService::getOptoutFlag(u32 messagePointer) {
|
||||
log("BOSS::getOptoutFlag\n");
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
mem.write8(messagePointer + 8, optoutFlag);
|
||||
}
|
||||
|
||||
void BOSSService::getTaskIdList(u32 messagePointer) {
|
||||
log("BOSS::GetTaskIdList (stubbed)\n");
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
}
|
||||
Reference in New Issue
Block a user