On Sep 24, 2004, at 3:22 AM, Nathan Lee Reynolds (yibble) wrote:

I went from 0.82 to 0.86, but I've also tested this on 0.85.

0.82 was working fine, except that my ACT Lab guns produce different
event code, but that was easily fixed. Now, I can't compile in 0.86 or
0.85 with Light Gun Support. I receive this:

*snip*

I took a look and corrected what I thought was a typo, minimum to
min_value, and maximum to max_value. Which then compiled, however, in
game, the cross-hairs no longer move when I fire, they just stay in the
centre of the screen.

The typo is fixed in the upcoming 0.87. The movement problem may also be fixed; to test this theory, please change line 1103 of src/unix/devices.c from


val = (INT64)val * (INT64)(ANALOG_VALUE_MAX - ANALOG_VALUE_MIN) / (INT64)(top - bottom) + ANALOG_VALUE_MIN;

to

val = (INT64)val * (INT64)(ANALOG_VALUE_MAX - ANALOG_VALUE_MIN) / (INT64)(top - bottom);

i.e., remove the trailing "+ ANALOG_VALUE_MIN".


_______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to