Browse code

fix java compile

devnewton authored on 17/06/2014 19:59:14
Showing 1 changed files
... ...
@@ -153,7 +153,7 @@ public class JavaPlatform extends AbstractPlatform {
153 153
     keyboard = createKeyboard();
154 154
     storage = new JavaStorage(this, config);
155 155
     touch = createTouch(config);
156
-    gamepads = new JavaGamepads();
156
+    gamepads = new JavaGamepads(this);
157 157
     if (touch instanceof JavaEmulatedTouch) {
158 158
       mouse = ((JavaEmulatedTouch)touch).createMouse(this);
159 159
     } else {