diff mde/input/joystick.d @ 86:79d816b3e2d2

New InitStage system, Screen & Screen.Drawable, separate testing and guiDemo binaries. This (and the previous) commit are the result of several quite significant changes to mde. All the unittests run, but it hasn't had a huge amount of testing so don't be surprised if bugs show up.
author Diggory Hardy <diggory.hardy@gmail.com>
date Fri, 12 Sep 2008 17:36:14 +0100
parents 56c0ddd90193
children 97e6dce08037
line wrap: on
line diff
--- a/mde/input/joystick.d	Thu Sep 11 11:33:51 2008 +0100
+++ b/mde/input/joystick.d	Fri Sep 12 17:36:14 2008 +0100
@@ -54,9 +54,7 @@
 StageState closeJoysticks () {
     foreach (js; joysticks) {
         // FIXME: This sometimes causes a SIGSEGV (Address boundary error) when init fails.
-        debug logger.trace ("Closing joysticks (this sometimes fails when mde exits prematurely)");
         if(js !is null) SDL_JoystickClose(js);	// only close if successfully opened
-        debug logger.trace ("Done closing joysticks");
     }
     return StageState.INACTIVE;
 }