From cb6be52404ea795170a19c26daac8108282f85a0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 3 Apr 2024 19:42:49 +1000 Subject: [PATCH] GameDatabase: Warn if CPU mode is enabled and unnecessary --- src/core/game_database.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/core/game_database.cpp b/src/core/game_database.cpp index 0a0802627..2c7f6aa50 100644 --- a/src/core/game_database.cpp +++ b/src/core/game_database.cpp @@ -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)) {