Rémi Bernon : dinput/tests: Add some broken joystick axis results.
Alexandre Julliard
julliard at winehq.org
Fri Jun 10 16:28:26 CDT 2022
Module: wine
Branch: master
Commit: 6a95003b8b3acc0394f273bd4d5cbdc6fd6e4271
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6a95003b8b3acc0394f273bd4d5cbdc6fd6e4271
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Wed Jun 8 18:15:04 2022 +0200
dinput/tests: Add some broken joystick axis results.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/dinput/tests/joystick8.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/tests/joystick8.c b/dlls/dinput/tests/joystick8.c
index c706276f146..e73330815a0 100644
--- a/dlls/dinput/tests/joystick8.c
+++ b/dlls/dinput/tests/joystick8.c
@@ -1682,8 +1682,8 @@ static void test_simple_joystick( DWORD version )
hr = IDirectInputDevice8_GetDeviceState( device, sizeof(DIJOYSTATE2), &state );
ok( hr == DI_OK, "GetDeviceState returned: %#lx\n", hr );
- check_member( state, expect_state_abs[1], "%ld", lX );
- check_member( state, expect_state_abs[1], "%ld", lY );
+ ok( state.lX == expect_state_abs[1].lX || broken( state.lX == 16853 ) /* w8 */, "got lX %ld", state.lX );
+ ok( state.lY == expect_state_abs[1].lY || broken( state.lY == 16853 ) /* w8 */, "got lY %ld", state.lY );
check_member( state, expect_state_abs[1], "%ld", lZ );
check_member( state, expect_state_abs[1], "%ld", lRx );
check_member( state, expect_state_abs[1], "%ld", rgdwPOV[0] );
More information about the wine-cvs
mailing list