diff mde/input/joystick.d @ 24:32eff0e01c05

Only locally-changed options are stored in user-config now. Log levels revised. Options sub-classes are handled more generically and can be added without changing the Options class. Options changed at run-time are tracked, and on exit merged with user options and saved. Revised log levels as set out in policies.txt and as used in code. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 27 Mar 2008 16:15:21 +0000
parents 5f90774ea1ef
children 611f7b9063c6
line wrap: on
line diff
--- a/mde/input/joystick.d	Thu Mar 27 10:58:57 2008 +0000
+++ b/mde/input/joystick.d	Thu Mar 27 16:15:21 2008 +0000
@@ -41,7 +41,7 @@
     
     for (int i = 0; i < joysticks.length; ++i) {
         if ((joysticks[i] = SDL_JoystickOpen (i)) is null) {	// null on failure
-            logger.warn (logger.format (tmp, "Unable to open joystick {} via SDL", i));
+            logger.error (logger.format (tmp, "Unable to open joystick {} via SDL", i));
         }
     }