mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 15:16:46 +00:00
SDL/DISPMANX: Corrected hasFeature() return values and made setFullScreenMode() ignore the enable value.
This commit is contained in:
parent
8382e87baa
commit
fcbecdeaf6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user