Skip to content

Commit

Permalink
Also check g_bExternalForced
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored and Samsagax committed Jul 11, 2024
1 parent 1dbcfed commit 3b0408f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Backends/DRMBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2152,9 +2152,9 @@ namespace gamescope
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );

if ( g_customRefreshRates.size() > 0 && GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL ) {
m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
return;
if ( g_customRefreshRates.size() > 0 && ( GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL || g_bExternalForced ) ) {
m_Mutable.ValidDynamicRefreshRates = std::span(g_customRefreshRates);
return;
}
if ( bSteamDeckDisplay )
{
Expand Down

0 comments on commit 3b0408f

Please sign in to comment.