SDL/DISPMANX: Corrected hasFeature() return values and made setFullScreenMode() ignore the enable value.

This commit is contained in:
vanfanel 2015-07-24 12:04:51 +02:00
parent 8382e87baa
commit fcbecdeaf6

View File

@ -566,11 +566,13 @@ bool DispmanXSdlGraphicsManager::handleScalerHotkeys(Common::KeyCode key) {
bool DispmanXSdlGraphicsManager::hasFeature(OSystem::Feature f) {
if (f == OSystem::kFeatureFullscreenMode) {
return false;
} else {
return SurfaceSdlGraphicsManager::hasFeature(f);
}
}
void DispmanXSdlGraphicsManager::setFullscreenMode(bool enable) {
_videoMode.fullscreen = enable;
// Since we're always in fullscreen mode, we do nothing here.
}
void DispmanXSdlGraphicsManager::setAspectRatioCorrection(bool enable) {