diff options
| author | 2018-08-08 02:37:32 -0400 | |
|---|---|---|
| committer | 2018-08-08 02:37:32 -0400 | |
| commit | 9fde7d739a9e4e3967668ad977d86646ac4c2c3f (patch) | |
| tree | 631c6af28f72ad9fbbca5caa42a0dc9b2f53afff /src/core | |
| parent | acc: Stub GetUserCount. (#973) (diff) | |
| parent | hid: fix IsSixAxisSensorAtRest() response (diff) | |
| download | yuzu-9fde7d739a9e4e3967668ad977d86646ac4c2c3f.tar.gz yuzu-9fde7d739a9e4e3967668ad977d86646ac4c2c3f.tar.xz yuzu-9fde7d739a9e4e3967668ad977d86646ac4c2c3f.zip | |
Merge pull request #983 from mailwl/hid-fix
hid: fix IsSixAxisSensorAtRest() response
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 8f0262e34..dcdfa0e19 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
| @@ -457,7 +457,7 @@ private: | |||
| 457 | } | 457 | } |
| 458 | 458 | ||
| 459 | void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) { | 459 | void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) { |
| 460 | IPC::ResponseBuilder rb{ctx, 2}; | 460 | IPC::ResponseBuilder rb{ctx, 3}; |
| 461 | rb.Push(RESULT_SUCCESS); | 461 | rb.Push(RESULT_SUCCESS); |
| 462 | // TODO (Hexagon12): Properly implement reading gyroscope values from controllers. | 462 | // TODO (Hexagon12): Properly implement reading gyroscope values from controllers. |
| 463 | rb.Push(true); | 463 | rb.Push(true); |