Stub AM::GetDLCTitleInfo got PMD: Gates to Infinity
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace AMCommands {
|
||||
enum : u32 {
|
||||
GetDLCTitleInfo = 0x10050084,
|
||||
ListTitleInfo = 0x10070102
|
||||
};
|
||||
}
|
||||
@@ -17,6 +18,7 @@ void AMService::reset() {}
|
||||
void AMService::handleSyncRequest(u32 messagePointer) {
|
||||
const u32 command = mem.read32(messagePointer);
|
||||
switch (command) {
|
||||
case AMCommands::GetDLCTitleInfo: getDLCTitleInfo(messagePointer); break;
|
||||
case AMCommands::ListTitleInfo: listTitleInfo(messagePointer); break;
|
||||
default: Helpers::panic("AM service requested. Command: %08X\n", command);
|
||||
}
|
||||
@@ -40,4 +42,9 @@ void AMService::listTitleInfo(u32 messagePointer) {
|
||||
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
mem.write32(messagePointer + 8, ticketCount);
|
||||
}
|
||||
|
||||
void AMService::getDLCTitleInfo(u32 messagePointer) {
|
||||
log("AM::GetDLCTitleInfo (stubbed to fail)\n");
|
||||
mem.write32(messagePointer + 4, -1);
|
||||
}
|
||||
Reference in New Issue
Block a user