Browse Source

Merge pull request #983 from mailwl/hid-fix

hid: fix IsSixAxisSensorAtRest() response
pull/15/merge
Mat M 8 years ago
committed by GitHub
parent
commit
9fde7d739a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/hle/service/hid/hid.cpp

2
src/core/hle/service/hid/hid.cpp

@ -457,7 +457,7 @@ private:
} }
void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) { void IsSixAxisSensorAtRest(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2};
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
// TODO (Hexagon12): Properly implement reading gyroscope values from controllers. // TODO (Hexagon12): Properly implement reading gyroscope values from controllers.
rb.Push(true); rb.Push(true);

Loading…
Cancel
Save