Skip to content

Commit

Permalink
OPENPANDORA: Clean up old commented code.
Browse files Browse the repository at this point in the history
(cherry picked from commit b157269)
  • Loading branch information
djwillis committed Jul 24, 2012
1 parent ae75889 commit 9939363
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions backends/platform/openpandora/op-backend.cpp
Expand Up @@ -59,11 +59,6 @@ OSystem_OP::OSystem_OP()
OSystem_POSIX() {
}

//static Uint32 timer_handler(Uint32 interval, void *param) {
// ((DefaultTimerManager *)param)->handler();
// return interval;
//}

void OSystem_OP::initBackend() {

assert(!_inited);
Expand All @@ -77,28 +72,6 @@ void OSystem_OP::initBackend() {
_graphicsManager = new OPGraphicsManager(_eventSource);
}

// int joystick_num = ConfMan.getInt("joystick_num");
// uint32 sdlFlags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER;
//
// if (ConfMan.hasKey("disable_sdl_parachute"))
// sdlFlags |= SDL_INIT_NOPARACHUTE;
//
// if (joystick_num > -1)
// sdlFlags |= SDL_INIT_JOYSTICK;
//
// if (SDL_Init(sdlFlags) == -1) {
// error("Could not initialize SDL: %s", SDL_GetError());
// }
//

// Create the mixer manager
// if (_mixer == 0) {
// _mixerManager = new DoubleBufferSDLMixerManager();

// Setup and start mixer
// _mixerManager->init();
// }

/* Setup default save path to be workingdir/saves */

char savePath[PATH_MAX+1];
Expand Down

0 comments on commit 9939363

Please sign in to comment.