From 7a5daaa6faff114289d814d4160cc54b057b48fb Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 27 Sep 2022 17:38:02 +0200 Subject: [PATCH] Increased the default VRAM limit from 256 MiB to 384 MiB. Also enabled video framerate upscaling by default on the Steam Deck. --- es-core/src/Settings.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/es-core/src/Settings.cpp b/es-core/src/Settings.cpp index e3c7c7705..6d0ffc326 100644 --- a/es-core/src/Settings.cpp +++ b/es-core/src/Settings.cpp @@ -215,12 +215,12 @@ void Settings::setDefaults() // Other settings. mStringMap["MediaDirectory"] = {"", ""}; -#if defined(STEAM_DECK) +#if defined(STEAM_DECK) || defined(RETRODECK) mIntMap["MaxVRAM"] = {512, 512}; #elif defined(RASPBERRY_PI) mIntMap["MaxVRAM"] = {184, 184}; #else - mIntMap["MaxVRAM"] = {256, 256}; + mIntMap["MaxVRAM"] = {384, 384}; #endif mIntMap["DisplayIndex"] = {1, 1}; #if defined(__APPLE__) @@ -236,7 +236,11 @@ void Settings::setDefaults() #if defined(VIDEO_HW_DECODING) mBoolMap["VideoHardwareDecoding"] = {false, false}; #endif +#if defined(STEAM_DECK) || defined(RETRODECK) + mBoolMap["VideoUpscaleFrameRate"] = {true, true}; +#else mBoolMap["VideoUpscaleFrameRate"] = {false, false}; +#endif mBoolMap["AlternativeEmulatorPerGame"] = {true, true}; mBoolMap["ShowHiddenFiles"] = {true, true}; mBoolMap["ShowHiddenGames"] = {true, true};