aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/openpandora
diff options
context:
space:
mode:
authorMax Horn2011-06-07 10:49:26 +0200
committerMax Horn2011-06-07 14:57:55 +0200
commitb7be24b83515eb3266d1f1d20601dd7cf43d0755 (patch)
tree4d385be2350a7d4139d444ff711dc02ccac8146a /backends/platform/openpandora
parentae4f63a256f333b87b560a1a187af7447307c0d9 (diff)
downloadscummvm-rg350-b7be24b83515eb3266d1f1d20601dd7cf43d0755.tar.gz
scummvm-rg350-b7be24b83515eb3266d1f1d20601dd7cf43d0755.tar.bz2
scummvm-rg350-b7be24b83515eb3266d1f1d20601dd7cf43d0755.zip
OPENPANDORA: Remove some dead code
Diffstat (limited to 'backends/platform/openpandora')
-rw-r--r--backends/platform/openpandora/op-backend.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/backends/platform/openpandora/op-backend.cpp b/backends/platform/openpandora/op-backend.cpp
index 4c29636e40..6bac4ea7d7 100644
--- a/backends/platform/openpandora/op-backend.cpp
+++ b/backends/platform/openpandora/op-backend.cpp
@@ -177,26 +177,6 @@ void OSystem_OP::initBackend() {
_inited = true;
}
-
-
- // enable joystick
-// if (joystick_num > -1 && SDL_NumJoysticks() > 0) {
-// printf("Using joystick: %s\n", SDL_JoystickName(0));
-// _joystick = SDL_JoystickOpen(joystick_num);
-// }
-//
-// setupMixer();
-
- // Note: We could implement a custom SDLTimerManager by using
- // SDL_AddTimer. That might yield better timer resolution, but it would
- // also change the semantics of a timer: Right now, ScummVM timers
- // *never* run in parallel, due to the way they are implemented. If we
- // switched to SDL_AddTimer, each timer might run in a separate thread.
- // However, not all our code is prepared for that, so we can't just
- // switch. Still, it's a potential future change to keep in mind.
-// _timer = new DefaultTimerManager();
-// _timerID = SDL_AddTimer(10, &timer_handler, _timer);
-
void OSystem_OP::initSDL() {
// Check if SDL has not been initialized
if (!_initedSDL) {