GameDatabase: Warn if vertex cache is enabled but unnecessary

This commit is contained in:
Stenzek 2024-07-07 14:23:52 +10:00
parent fe055280e1
commit 7f21226a99
No known key found for this signature in database
1 changed files with 9 additions and 0 deletions

View File

@ -602,6 +602,15 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
settings.gpu_pgxp_vertex_cache = true;
}
else if (settings.gpu_pgxp_enable && settings.gpu_pgxp_vertex_cache)
{
Host::AddIconOSDMessage(
"gamedb_force_pgxp_vertex_cache", ICON_FA_MICROCHIP,
TRANSLATE_STR(
"OSDMessage",
"PGXP Vertex Cache is enabled, but it is not required for this game. This may cause rendering errors."),
osd_duration);
}
if (HasTrait(Trait::ForcePGXPCPUMode))
{