Increased the default VRAM limit from 256 MiB to 384 MiB.

Also enabled video framerate upscaling by default on the Steam Deck.
This commit is contained in:
Leon Styhre 2022-09-27 17:38:02 +02:00
parent d91beb5832
commit 7a5daaa6fa

View file

@ -215,12 +215,12 @@ void Settings::setDefaults()
// Other settings. // Other settings.
mStringMap["MediaDirectory"] = {"", ""}; mStringMap["MediaDirectory"] = {"", ""};
#if defined(STEAM_DECK) #if defined(STEAM_DECK) || defined(RETRODECK)
mIntMap["MaxVRAM"] = {512, 512}; mIntMap["MaxVRAM"] = {512, 512};
#elif defined(RASPBERRY_PI) #elif defined(RASPBERRY_PI)
mIntMap["MaxVRAM"] = {184, 184}; mIntMap["MaxVRAM"] = {184, 184};
#else #else
mIntMap["MaxVRAM"] = {256, 256}; mIntMap["MaxVRAM"] = {384, 384};
#endif #endif
mIntMap["DisplayIndex"] = {1, 1}; mIntMap["DisplayIndex"] = {1, 1};
#if defined(__APPLE__) #if defined(__APPLE__)
@ -236,7 +236,11 @@ void Settings::setDefaults()
#if defined(VIDEO_HW_DECODING) #if defined(VIDEO_HW_DECODING)
mBoolMap["VideoHardwareDecoding"] = {false, false}; mBoolMap["VideoHardwareDecoding"] = {false, false};
#endif #endif
#if defined(STEAM_DECK) || defined(RETRODECK)
mBoolMap["VideoUpscaleFrameRate"] = {true, true};
#else
mBoolMap["VideoUpscaleFrameRate"] = {false, false}; mBoolMap["VideoUpscaleFrameRate"] = {false, false};
#endif
mBoolMap["AlternativeEmulatorPerGame"] = {true, true}; mBoolMap["AlternativeEmulatorPerGame"] = {true, true};
mBoolMap["ShowHiddenFiles"] = {true, true}; mBoolMap["ShowHiddenFiles"] = {true, true};
mBoolMap["ShowHiddenGames"] = {true, true}; mBoolMap["ShowHiddenGames"] = {true, true};