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).
This commit is contained in:
Donovan Watteau 2022-05-22 23:46:59 +02:00 committed by Filippos Karapetis
parent c1196532e5
commit 630207d38b

View File

@ -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");