diff --git a/src/device/isapnp.c b/src/device/isapnp.c index 62abb3202..69da4ca13 100644 --- a/src/device/isapnp.c +++ b/src/device/isapnp.c @@ -53,7 +53,7 @@ static const uint8_t pnp_init_key[32] = { 0x6A, 0xB5, 0xDA, 0xED, 0xF6, 0xFB, 0x 0xE8, 0x74, 0x3A, 0x9D, 0xCE, 0xE7, 0x73, 0x39 }; static const device_t isapnp_device; -#define ENABLE_ISAPNP_LOG 1 + #ifdef ENABLE_ISAPNP_LOG int isapnp_do_log = ENABLE_ISAPNP_LOG; diff --git a/src/game/gameport.c b/src/game/gameport.c index d33efb897..ce9e4b086 100644 --- a/src/game/gameport.c +++ b/src/game/gameport.c @@ -272,6 +272,7 @@ timer_over(void *priv) axis->joystick->state &= ~(1 << axis->axis_nr); + /* Notify the joystick when the first axis' period is finished. */ if (axis == &axis->joystick->axis[0]) axis->joystick->intf->a0_over(axis->joystick->dat); }