Skip to content

Commit

Permalink
VMManager: Add renderer selection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanTheToaster authored and F0bes committed Oct 23, 2024
1 parent f46f788 commit 56a2b3b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pcsx2/VMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3154,6 +3154,15 @@ void VMManager::WarnAboutUnsafeSettings()
append(ICON_FA_IMAGES,
TRANSLATE_SV("VMManager", "Mipmapping is disabled. This may break rendering in some games."));
}
static bool render_change_warn = false;
if (EmuConfig.GS.Renderer != GSRendererType::Auto && EmuConfig.GS.Renderer != GSRendererType::SW && !render_change_warn)
{
// show messagesbox
render_change_warn = true;

append(ICON_FA_EXCLAMATION_CIRCLE,
TRANSLATE_SV("VMManager", "Renderer is not set to Automatic. This may cause performance problems and graphical issues."));
}
}
if (EmuConfig.GS.TextureFiltering != BiFiltering::PS2)
{
Expand Down

0 comments on commit 56a2b3b

Please sign in to comment.