diff options
author | rsn8887 | 2019-08-18 15:09:45 -0500 |
---|---|---|
committer | rsn8887 | 2019-08-18 15:14:20 -0500 |
commit | 073d8332834b18023207c4aad194986df92bb414 (patch) | |
tree | 98560a55bb0a83da5f0a88c2a2f0f746c78b4fc1 /backends/platform/sdl | |
parent | b7c089f489440252785b1f18dc6d3a2356d6fde1 (diff) | |
download | scummvm-rg350-073d8332834b18023207c4aad194986df92bb414.tar.gz scummvm-rg350-073d8332834b18023207c4aad194986df92bb414.tar.bz2 scummvm-rg350-073d8332834b18023207c4aad194986df92bb414.zip |
PSP2: Force fullscreen always on
Windowed mode never worked correctly and is pointless since Vita
operating system doesn't have a window manager.
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/psp2/psp2.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp index 5a127b05b3..bb26694dfd 100644 --- a/backends/platform/sdl/psp2/psp2.cpp +++ b/backends/platform/sdl/psp2/psp2.cpp @@ -82,9 +82,8 @@ void OSystem_PSP2::initBackend() { ConfMan.registerDefault("touchpad_mouse_mode", false); ConfMan.registerDefault("frontpanel_touchpad_mode", false); - if (!ConfMan.hasKey("fullscreen")) { - ConfMan.setBool("fullscreen", true); - } + ConfMan.setBool("fullscreen", true); + if (!ConfMan.hasKey("aspect_ratio")) { ConfMan.setBool("aspect_ratio", false); } @@ -130,6 +129,8 @@ void OSystem_PSP2::initBackend() { } bool OSystem_PSP2::hasFeature(Feature f) { + if (f == kFeatureFullscreenMode) + return false; return (f == kFeatureKbdMouseSpeed || f == kFeatureJoystickDeadzone || f == kFeatureShader || @@ -142,6 +143,8 @@ void OSystem_PSP2::setFeatureState(Feature f, bool enable) { case kFeatureTouchpadMode: ConfMan.setBool("touchpad_mouse_mode", enable); break; + case kFeatureFullscreenMode: + break; default: OSystem_SDL::setFeatureState(f, enable); break; @@ -153,6 +156,9 @@ bool OSystem_PSP2::getFeatureState(Feature f) { case kFeatureTouchpadMode: return ConfMan.getBool("touchpad_mouse_mode"); break; + case kFeatureFullscreenMode: + return true; + break; default: return OSystem_SDL::getFeatureState(f); break; |