mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
GS-HW: Don't bilinear dirty rects by default, added as upscale hack.
This commit is contained in:
1 parent
fa439a465d
commit
2b49614df9
13 files changed
+47
-7
No files matched your search
@@ -352,6 +352,7 @@ static const char* s_gs_hw_fix_names[] = {
|
||||
"alignSprite",
|
||||
"mergeSprite",
|
||||
"wildArmsHack",
|
||||
"bilinearUpscale",
|
||||
"estimateTextureRegion",
|
||||
"PCRTCOffsets",
|
||||
"PCRTCOverscan",
|
||||
@@ -588,6 +589,9 @@ bool GameDatabaseSchema::GameEntry::configMatchesHWFix(const Pcsx2Config::GSOpti
|
||||
case GSHWFixId::WildArmsHack:
|
||||
return (config.UpscaleMultiplier <= 1.0f || static_cast<int>(config.UserHacks_WildHack) == value);
|
||||
|
||||
case GSHWFixId::BilinearUpscale:
|
||||
return (config.UpscaleMultiplier <= 1.0f || static_cast<int>(config.UserHacks_BilinearHack) == value);
|
||||
|
||||
case GSHWFixId::EstimateTextureRegion:
|
||||
return (static_cast<int>(config.UserHacks_EstimateTextureRegion) == value);
|
||||
|
||||
@@ -727,6 +731,10 @@ u32 GameDatabaseSchema::GameEntry::applyGSHardwareFixes(Pcsx2Config::GSOptions&
|
||||
config.UserHacks_WildHack = (value > 0);
|
||||
break;
|
||||
|
||||
case GSHWFixId::BilinearUpscale:
|
||||
config.UserHacks_BilinearHack = (value > 0);
|
||||
break;
|
||||
|
||||
case GSHWFixId::EstimateTextureRegion:
|
||||
config.UserHacks_EstimateTextureRegion = (value > 0);
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user