Re: [hatari-devel] joystick subsystem patch for configurable axis mapping

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Tue, 13 Dec 2011 17:47:04 +0100
schrieb Matthias Arndt <marndt@xxxxxxxxxxxxxx>:
....
> 
> Thanks, it took me some time to figure out that I had to mention a
> specific revision.
> 
> Hope the patches work.
> 

 static bool bJoystickWorking[6] =       /* Is joystick plugged in and working? */
 {
-	false, false, false, false, false, false
-}; 
+    NULL, NULL, NULL, NULL, NULL, NULL
+};

Why did you change false to NULL here? bJoystickWorking is an array of
booleans, so "false" is the right thing to use here, isn't it?

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/