Skip to content

Commit

Permalink
GameDatabase: Warn if CPU mode is enabled and unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Apr 3, 2024
1 parent bd19276 commit cb6be52
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/game_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,14 @@ void GameDatabase::Entry::ApplySettings(Settings& settings, bool display_osd_mes

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))
{
Expand Down

0 comments on commit cb6be52

Please sign in to comment.