GameDatabase: Warn if CPU mode is enabled and unnecessary

This commit is contained in:
Stenzek 2024-04-03 19:42:49 +10:00
parent bd19276cf5
commit cb6be52404
No known key found for this signature in database

View file

@ -580,6 +580,14 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes
settings.gpu_pgxp_cpu = true; settings.gpu_pgxp_cpu = true;
} }
else if (settings.UsingPGXPCPUMode())
{
Host::AddIconOSDMessage(
"gamedb_force_pgxp_cpu", ICON_FA_MICROCHIP,
TRANSLATE_STR("OSDMessage",
"PGXP CPU mode is enabled, but it is not required for this game. This may cause rendering errors."),
osd_duration);
}
if (HasTrait(Trait::DisablePGXPDepthBuffer)) if (HasTrait(Trait::DisablePGXPDepthBuffer))
{ {