hle: Eliminate need to specify command headers for IPC. (#6678)

This commit is contained in:
Steveice10 2023-07-14 17:32:59 -07:00 committed by GitHub
parent 0bedb28bdc
commit e043caac27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
96 changed files with 2691 additions and 2707 deletions

View file

@ -14,8 +14,8 @@ QTM_C::QTM_C() : ServiceFramework("qtm:c", 2) {
static const FunctionInfo functions[] = {
// qtm calibration commands
// clang-format off
{IPC::MakeHeader(0x0001, 0, 0), nullptr, "InitializeHardwareCheck"},
{IPC::MakeHeader(0x0005, 1, 0), nullptr, "SetIrLedCheck"},
{0x0001, nullptr, "InitializeHardwareCheck"},
{0x0005, nullptr, "SetIrLedCheck"},
// clang-format on
};

View file

@ -14,8 +14,8 @@ QTM_S::QTM_S() : ServiceFramework("qtm:s", 2) {
static const FunctionInfo functions[] = {
// qtm common commands
// clang-format off
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
{0x0002, nullptr, "GetHeadtrackingInfo"},
// clang-format on
};

View file

@ -14,8 +14,8 @@ QTM_SP::QTM_SP() : ServiceFramework("qtm:sp", 2) {
static const FunctionInfo functions[] = {
// qtm common commands
// clang-format off
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
{0x0002, nullptr, "GetHeadtrackingInfo"},
// clang-format on
};

View file

@ -14,8 +14,8 @@ QTM_U::QTM_U() : ServiceFramework("qtm:u", 2) {
static const FunctionInfo functions[] = {
// qtm common commands
// clang-format off
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
{0x0002, nullptr, "GetHeadtrackingInfo"},
// clang-format on
};