Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

bool OSystem_Dreamcast::hasFeature ( Feature  f ) [virtual]

Determine whether the backend supports the specified feature.

Reimplemented from OSystem.

Definition at line 158 of file dcmain.cpp.

References OSystem::kFeatureAspectRatioCorrection, OSystem::kFeatureCursorHasPalette, OSystem::kFeatureOverlaySupportsAlpha, and OSystem::kFeatureVirtualKeyboard.

{
  switch(f) {
  case kFeatureAspectRatioCorrection:
  case kFeatureVirtualKeyboard:
  case kFeatureOverlaySupportsAlpha:
  case kFeatureCursorHasPalette:
    return true;
  default:
    return false;
  }
}

Generated by  Doxygen 1.6.0   Back to index