1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/rocksndiamonds/files/patch-af

21 lines
472 B
Plaintext
Raw Normal View History

--- src/screens.c.orig Sat Oct 23 19:26:41 1999
+++ src/screens.c Wed Jan 5 22:15:00 2000
@@ -1979,7 +1979,7 @@
void CalibrateJoystick(int player_nr)
{
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
struct joystick joy_ctrl;
#else
struct joystick_control
@@ -2044,7 +2044,7 @@
BackToFront();
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
joy_ctrl.b1 = joy_ctrl.b2 = 0;
#else
joy_ctrl.buttons = 0;