From 630207d38bd9f807c9604dc48c7208f9bb0e98a0 Mon Sep 17 00:00:00 2001 From: Donovan Watteau Date: Sun, 22 May 2022 23:46:59 +0200 Subject: [PATCH] PS3: Properly init the fullscreen and aspect_ratio config keys As done in the PSP2, Android and Switch ports. Fix inconsistent reported state for the Aspect Ratio setting on PS3 (similar to Trac#11743 for Android). --- backends/platform/sdl/ps3/ps3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/platform/sdl/ps3/ps3.cpp b/backends/platform/sdl/ps3/ps3.cpp index 94b816e47ee..ec4541b7031 100644 --- a/backends/platform/sdl/ps3/ps3.cpp +++ b/backends/platform/sdl/ps3/ps3.cpp @@ -88,6 +88,10 @@ void OSystem_PS3::initBackend() { ConfMan.registerDefault("fullscreen", true); ConfMan.registerDefault("aspect_ratio", true); + ConfMan.setBool("fullscreen", true); + if (!ConfMan.hasKey("aspect_ratio")) + ConfMan.setBool("aspect_ratio", true); + // Create the savefile manager if (_savefileManager == 0) _savefileManager = new DefaultSaveFileManager(PREFIX "/saves");