mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-20 07:15:38 +00:00
GameDatabase: Warn if vertex cache is enabled but unnecessary
This commit is contained in:
parent
fe055280e1
commit
7f21226a99
|
@ -602,6 +602,15 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
|
||||||
|
|
||||||
settings.gpu_pgxp_vertex_cache = true;
|
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))
|
if (HasTrait(Trait::ForcePGXPCPUMode))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue