mirror of https://github.com/PCSX2/pcsx2.git
GameDatabase: Fix recommended blending message
It was reading from the GS thread copy instead of the CPU thread config.
This commit is contained in:
parent
b24b353b2d
commit
ad05193916
|
@ -851,14 +851,14 @@ u32 GameDatabaseSchema::GameEntry::applyGSHardwareFixes(Pcsx2Config::GSOptions&
|
|||
|
||||
case GSHWFixId::RecommendedBlendingLevel:
|
||||
{
|
||||
if (value >= 0 && value <= static_cast<int>(AccBlendLevel::Maximum) && static_cast<int>(GSConfig.AccurateBlendingUnit) < value)
|
||||
if (value >= 0 && value <= static_cast<int>(AccBlendLevel::Maximum) && static_cast<int>(EmuConfig.GS.AccurateBlendingUnit) < value)
|
||||
{
|
||||
Host::AddKeyedOSDMessage("HWBlendingWarning",
|
||||
fmt::format(ICON_FA_PAINT_BRUSH " Current Blending Accuracy is {}.\n"
|
||||
"Recommended Blending Accuracy for this game is {}.\n"
|
||||
"You can adjust the blending level in Game Properties to improve\n"
|
||||
"graphical quality, but this will increase system requirements.",
|
||||
Pcsx2Config::GSOptions::BlendingLevelNames[static_cast<int>(GSConfig.AccurateBlendingUnit)],
|
||||
Pcsx2Config::GSOptions::BlendingLevelNames[static_cast<int>(EmuConfig.GS.AccurateBlendingUnit)],
|
||||
Pcsx2Config::GSOptions::BlendingLevelNames[value]),
|
||||
Host::OSD_WARNING_DURATION);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue