[Scummvm-git-logs] scummvm master -> 073d8332834b18023207c4aad194986df92bb414
rsn8887
rsn8887 at users.noreply.github.com
Sun Aug 18 22:15:03 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
073d833283 PSP2: Force fullscreen always on
Commit: 073d8332834b18023207c4aad194986df92bb414
https://github.com/scummvm/scummvm/commit/073d8332834b18023207c4aad194986df92bb414
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2019-08-18T15:14:20-05:00
Commit Message:
PSP2: Force fullscreen always on
Windowed mode never worked correctly and is pointless since Vita
operating system doesn't have a window manager.
Changed paths:
backends/platform/sdl/psp2/psp2.cpp
diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp
index 5a127b0..bb26694 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;
More information about the Scummvm-git-logs
mailing list