aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/gp2x/gp2x.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp
index 06c28d8f99..2d2b4b8078 100644
--- a/backends/platform/gp2x/gp2x.cpp
+++ b/backends/platform/gp2x/gp2x.cpp
@@ -96,11 +96,11 @@ void OSystem_GP2X::initBackend() {
int joystick_num = ConfMan.getInt("joystick_num");
uint32 sdlFlags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_EVENTTHREAD;
- //if (ConfMan.hasKey("disable_sdl_parachute"))
- // sdlFlags |= SDL_INIT_NOPARACHUTE;
+ if (ConfMan.hasKey("disable_sdl_parachute"))
+ sdlFlags |= SDL_INIT_NOPARACHUTE;
- //if (joystick_num > -1)
- // sdlFlags |= SDL_INIT_JOYSTICK;
+ if (joystick_num > -1)
+ sdlFlags |= SDL_INIT_JOYSTICK;
if (SDL_Init(sdlFlags) == -1) {
error("Could not initialize SDL: %s", SDL_GetError());