diff options
Diffstat (limited to 'nGenEx/Joystick.cpp')
-rw-r--r-- | nGenEx/Joystick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/Joystick.cpp b/nGenEx/Joystick.cpp index af11e69..97dc671 100644 --- a/nGenEx/Joystick.cpp +++ b/nGenEx/Joystick.cpp @@ -1,6 +1,6 @@ /* Project nGenEx
Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Copyright (C) 1997-2004. All Rights Reserved.
SUBSYSTEM: nGenEx.lib
FILE: Joystick.cpp
@@ -542,7 +542,7 @@ Joystick::Acquire() if (ndev < 1)
EnumerateDevices();
- if (CreateDevice(select))
+ if (CreateDevice(select) && pdev)
pdev->Acquire();
}
|