diff options
Diffstat (limited to 'backends/platform/symbian/src')
-rw-r--r-- | backends/platform/symbian/src/ScummVMApp.cpp | 2 | ||||
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 44 |
2 files changed, 23 insertions, 23 deletions
diff --git a/backends/platform/symbian/src/ScummVMApp.cpp b/backends/platform/symbian/src/ScummVMApp.cpp index 741f93cfd1..e031244135 100644 --- a/backends/platform/symbian/src/ScummVMApp.cpp +++ b/backends/platform/symbian/src/ScummVMApp.cpp @@ -151,7 +151,7 @@ void CScummVMUi::BringUpEmulatorL() { } void CScummVMUi::HandleCommandL(TInt aCommand) { - switch(aCommand) { + switch (aCommand) { case EEikCmdExit: { RThread thread; diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index 7af1cade8c..fcdc22db51 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -84,35 +84,35 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = { }; bool OSystem_SDL_Symbian::hasFeature(Feature f) { - switch(f) { - case kFeatureFullscreenMode: - case kFeatureAspectRatioCorrection: - case kFeatureAutoComputeDirtyRects: - case kFeatureCursorHasPalette: + switch (f) { + case kFeatureFullscreenMode: + case kFeatureAspectRatioCorrection: + case kFeatureAutoComputeDirtyRects: + case kFeatureCursorHasPalette: #ifdef USE_VIBRA_SE_PXXX - case kFeatureVibration: + case kFeatureVibration: #endif - return true; + return true; - default: - return false; + default: + return false; } } void OSystem_SDL_Symbian::setFeatureState(Feature f, bool enable) { - switch(f) { - case kFeatureVirtualKeyboard: - if (enable) { - } - else { + switch (f) { + case kFeatureVirtualKeyboard: + if (enable) { + } + else { - } - break; - case kFeatureDisableKeyFiltering: - GUI::Actions::Instance()->beginMapping(enable); - break; - default: - OSystem_SDL::setFeatureState(f, enable); + } + break; + case kFeatureDisableKeyFiltering: + GUI::Actions::Instance()->beginMapping(enable); + break; + default: + OSystem_SDL::setFeatureState(f, enable); } } @@ -326,7 +326,7 @@ bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) { if (GUI::Actions::Instance()->getMapping(loop) == ev.key.keysym.sym && GUI::Actions::Instance()->isEnabled(loop)) { // Create proper event instead - switch(loop) { + switch (loop) { case GUI::ACTION_UP: if (ev.type == SDL_KEYDOWN) { _km.y_vel = -1; |