diff options
| author | 2020-06-29 04:01:34 +0200 | |
|---|---|---|
| committer | 2020-06-29 04:01:34 +0200 | |
| commit | 6a0010d0c64ff3e023d8f16e543dfaf73c531179 (patch) | |
| tree | 555a880d3ffce95547fedd0b2eb1a1fdfd829422 /src/core/hle/service/usb | |
| parent | Merge pull request #3982 from ReinUsesLisp/membar-cts (diff) | |
| download | yuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.tar.gz yuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.tar.xz yuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.zip | |
service: Update function tables
Diffstat (limited to 'src/core/hle/service/usb')
| -rw-r--r-- | src/core/hle/service/usb/usb.cpp | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/core/hle/service/usb/usb.cpp b/src/core/hle/service/usb/usb.cpp index 58a9845fc..d033f8603 100644 --- a/src/core/hle/service/usb/usb.cpp +++ b/src/core/hle/service/usb/usb.cpp | |||
| @@ -20,7 +20,7 @@ public: | |||
| 20 | static const FunctionInfo functions[] = { | 20 | static const FunctionInfo functions[] = { |
| 21 | {0, nullptr, "GetDsEndpoint"}, | 21 | {0, nullptr, "GetDsEndpoint"}, |
| 22 | {1, nullptr, "GetSetupEvent"}, | 22 | {1, nullptr, "GetSetupEvent"}, |
| 23 | {2, nullptr, "Unknown"}, | 23 | {2, nullptr, "Unknown2"}, |
| 24 | {3, nullptr, "EnableInterface"}, | 24 | {3, nullptr, "EnableInterface"}, |
| 25 | {4, nullptr, "DisableInterface"}, | 25 | {4, nullptr, "DisableInterface"}, |
| 26 | {5, nullptr, "CtrlInPostBufferAsync"}, | 26 | {5, nullptr, "CtrlInPostBufferAsync"}, |
| @@ -55,6 +55,7 @@ public: | |||
| 55 | {9, nullptr, "SetBinaryObjectStore"}, | 55 | {9, nullptr, "SetBinaryObjectStore"}, |
| 56 | {10, nullptr, "Enable"}, | 56 | {10, nullptr, "Enable"}, |
| 57 | {11, nullptr, "Disable"}, | 57 | {11, nullptr, "Disable"}, |
| 58 | {12, nullptr, "Unknown12"}, | ||
| 58 | }; | 59 | }; |
| 59 | // clang-format on | 60 | // clang-format on |
| 60 | 61 | ||
| @@ -69,13 +70,13 @@ public: | |||
| 69 | static const FunctionInfo functions[] = { | 70 | static const FunctionInfo functions[] = { |
| 70 | {0, nullptr, "Open"}, | 71 | {0, nullptr, "Open"}, |
| 71 | {1, nullptr, "Close"}, | 72 | {1, nullptr, "Close"}, |
| 72 | {2, nullptr, "Unknown1"}, | 73 | {2, nullptr, "Unknown2"}, |
| 73 | {3, nullptr, "Populate"}, | 74 | {3, nullptr, "Populate"}, |
| 74 | {4, nullptr, "PostBufferAsync"}, | 75 | {4, nullptr, "PostBufferAsync"}, |
| 75 | {5, nullptr, "GetXferReport"}, | 76 | {5, nullptr, "GetXferReport"}, |
| 76 | {6, nullptr, "PostBufferMultiAsync"}, | 77 | {6, nullptr, "PostBufferMultiAsync"}, |
| 77 | {7, nullptr, "Unknown3"}, | 78 | {7, nullptr, "Unknown7"}, |
| 78 | {8, nullptr, "Unknown4"}, | 79 | {8, nullptr, "Unknown8"}, |
| 79 | }; | 80 | }; |
| 80 | // clang-format on | 81 | // clang-format on |
| 81 | 82 | ||
| @@ -88,13 +89,13 @@ public: | |||
| 88 | explicit IClientIfSession() : ServiceFramework{"IClientIfSession"} { | 89 | explicit IClientIfSession() : ServiceFramework{"IClientIfSession"} { |
| 89 | // clang-format off | 90 | // clang-format off |
| 90 | static const FunctionInfo functions[] = { | 91 | static const FunctionInfo functions[] = { |
| 91 | {0, nullptr, "Unknown1"}, | 92 | {0, nullptr, "Unknown0"}, |
| 92 | {1, nullptr, "SetInterface"}, | 93 | {1, nullptr, "SetInterface"}, |
| 93 | {2, nullptr, "GetInterface"}, | 94 | {2, nullptr, "GetInterface"}, |
| 94 | {3, nullptr, "GetAlternateInterface"}, | 95 | {3, nullptr, "GetAlternateInterface"}, |
| 95 | {4, nullptr, "GetCurrentFrame"}, | 96 | {4, nullptr, "GetCurrentFrame"}, |
| 96 | {5, nullptr, "CtrlXferAsync"}, | 97 | {5, nullptr, "CtrlXferAsync"}, |
| 97 | {6, nullptr, "Unknown2"}, | 98 | {6, nullptr, "Unknown6"}, |
| 98 | {7, nullptr, "GetCtrlXferReport"}, | 99 | {7, nullptr, "GetCtrlXferReport"}, |
| 99 | {8, nullptr, "ResetDevice"}, | 100 | {8, nullptr, "ResetDevice"}, |
| 100 | {9, nullptr, "OpenUsbEp"}, | 101 | {9, nullptr, "OpenUsbEp"}, |
| @@ -118,7 +119,7 @@ public: | |||
| 118 | {5, nullptr, "DestroyInterfaceAvailableEvent"}, | 119 | {5, nullptr, "DestroyInterfaceAvailableEvent"}, |
| 119 | {6, nullptr, "GetInterfaceStateChangeEvent"}, | 120 | {6, nullptr, "GetInterfaceStateChangeEvent"}, |
| 120 | {7, nullptr, "AcquireUsbIf"}, | 121 | {7, nullptr, "AcquireUsbIf"}, |
| 121 | {8, nullptr, "Unknown1"}, | 122 | {8, nullptr, "Unknown8"}, |
| 122 | }; | 123 | }; |
| 123 | // clang-format on | 124 | // clang-format on |
| 124 | 125 | ||
| @@ -179,8 +180,8 @@ public: | |||
| 179 | {4, nullptr, "GetFwRevision"}, | 180 | {4, nullptr, "GetFwRevision"}, |
| 180 | {5, nullptr, "GetManufacturerId"}, | 181 | {5, nullptr, "GetManufacturerId"}, |
| 181 | {6, nullptr, "GetDeviceId"}, | 182 | {6, nullptr, "GetDeviceId"}, |
| 182 | {7, nullptr, "Unknown1"}, | 183 | {7, nullptr, "Unknown7"}, |
| 183 | {8, nullptr, "Unknown2"}, | 184 | {8, nullptr, "Unknown8"}, |
| 184 | }; | 185 | }; |
| 185 | // clang-format on | 186 | // clang-format on |
| 186 | 187 | ||
| @@ -215,12 +216,12 @@ public: | |||
| 215 | explicit USB_PM() : ServiceFramework{"usb:pm"} { | 216 | explicit USB_PM() : ServiceFramework{"usb:pm"} { |
| 216 | // clang-format off | 217 | // clang-format off |
| 217 | static const FunctionInfo functions[] = { | 218 | static const FunctionInfo functions[] = { |
| 218 | {0, nullptr, "Unknown1"}, | 219 | {0, nullptr, "Unknown0"}, |
| 219 | {1, nullptr, "Unknown2"}, | 220 | {1, nullptr, "Unknown1"}, |
| 220 | {2, nullptr, "Unknown3"}, | 221 | {2, nullptr, "Unknown2"}, |
| 221 | {3, nullptr, "Unknown4"}, | 222 | {3, nullptr, "Unknown3"}, |
| 222 | {4, nullptr, "Unknown5"}, | 223 | {4, nullptr, "Unknown4"}, |
| 223 | {5, nullptr, "Unknown6"}, | 224 | {5, nullptr, "Unknown5"}, |
| 224 | }; | 225 | }; |
| 225 | // clang-format on | 226 | // clang-format on |
| 226 | 227 | ||