From 2b692640e128bc68689ba88c0885c224ffbf98ae Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Thu, 3 Jun 2021 16:02:15 -0300 Subject: [PATCH] Disable ISAPnP logging --- src/device/isapnp.c | 2 +- src/game/gameport.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); }