[XAM/APP] Recording more Xam app messages

- Recording more xam app messages for future reference
- Removed mistakes from messenger_app.h
- Added missing buffer_ptr, buffer_length to unknown message id logs
This commit is contained in:
The-Little-Wolf
2024-08-31 23:17:23 -07:00
committed by Radosław Gliński
parent 60318a5db6
commit ccf7adf015
5 changed files with 94 additions and 35 deletions

View File

@@ -439,8 +439,9 @@ X_HRESULT XmpApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
case 0x0007002B: {
// Called on the NXE and Kinect dashboard after clicking on the picture,
// video, and music library
XELOGD("XMPUnk7002B, unimplemented");
return X_E_FAIL;
XELOGD("XMPUnk7002B({:08X}, {:08X}), unimplemented", buffer_ptr,
buffer_length);
return X_E_INVALIDARG;
}
case 0x0007002E: {
assert_true(!buffer_length || buffer_length == 12);
@@ -462,8 +463,9 @@ X_HRESULT XmpApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
}
case 0x0007002F: {
// Called on the start up of all dashboard versions before kinect
XELOGD("XMPUnk7002F, unimplemented");
return X_E_FAIL;
XELOGD("XMPUnk7002F({:08X}, {:08X}), unimplemented", buffer_ptr,
buffer_length);
return X_E_INVALIDARG;
}
case 0x0007003D: {
// XMPCaptureOutput
@@ -485,16 +487,19 @@ X_HRESULT XmpApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
}
case 0x00070044: {
// Called on the start up of all dashboard versions before kinect
// When it returns X_E_FAIL you can access the music player up to version
// 5787
XELOGD("XMPUnk70044, unimplemented");
return X_E_FAIL;
// When it returns X_E_INVALIDARG you can access the music player up to
// version 5787
XELOGD("XMPUnk70044({:08X}, {:08X}), unimplemented", buffer_ptr,
buffer_length);
return X_E_INVALIDARG;
}
case 0x00070053: {
// Called on the blades dashboard after clicking on the picture,
// video, and music library
XELOGD("XMPUnk70053, unimplemented");
return X_E_FAIL;
// video, and music library in rapid succession then freezes
// it only recieves buffer
XELOGD("XMPUnk70053({:08X}, {:08X}), unimplemented", buffer_ptr,
buffer_length);
return X_E_SUCCESS;
}
}
XELOGE(