From 9dd954a4f4c0588a3afce272212d10f672880aec Mon Sep 17 00:00:00 2001 From: endolf Date: Wed, 15 Jun 2005 09:09:09 +0000 Subject: [PATCH] Guess who found the device that pops the buffer size?, was getting an array out of bounds. --- .../DX8/src/java/net/java/games/input/DirectInputDevice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java b/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java index 849a5f1..e8f500b 100644 --- a/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java +++ b/plugins/DX8/src/java/net/java/games/input/DirectInputDevice.java @@ -84,7 +84,7 @@ class DirectInputDevice extends AbstractController { * Data when polling, as per the DIJOYSTATE structure in dinput.h; * @see DirectInputAxis for a breakdown of this structure */ - int[] data = new int[32]; + int[] data = new int[38]; /** Array list of rumblers */ private ArrayList rumblerList = new ArrayList();