From 1ab909addc2910461e8ebaec2a402cba32a64057 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Wed, 9 Aug 2023 02:59:09 +0200 Subject: [PATCH] Config/gamedb: Remove screen fix from config entirely. No longer needed. --- pcsx2/Config.h | 1 - pcsx2/GameDatabase.cpp | 7 ------- pcsx2/Pcsx2Config.cpp | 3 --- 3 files changed, 11 deletions(-) diff --git a/pcsx2/Config.h b/pcsx2/Config.h index fc7dd05b33..bedd6cbc93 100644 --- a/pcsx2/Config.h +++ b/pcsx2/Config.h @@ -765,7 +765,6 @@ struct Pcsx2Config int SkipDrawEnd = 0; GSHWAutoFlushLevel UserHacks_AutoFlush = GSHWAutoFlushLevel::Disabled; - s8 UserHacks_HalfBottomOverride = -1; s8 UserHacks_HalfPixelOffset = 0; s8 UserHacks_RoundSprite = 0; s32 UserHacks_TCOffsetX = 0; diff --git a/pcsx2/GameDatabase.cpp b/pcsx2/GameDatabase.cpp index 361e3b47d9..3857df9be0 100644 --- a/pcsx2/GameDatabase.cpp +++ b/pcsx2/GameDatabase.cpp @@ -601,9 +601,6 @@ bool GameDatabaseSchema::GameEntry::configMatchesHWFix(const Pcsx2Config::GSOpti case GSHWFixId::SkipDrawEnd: return (config.SkipDrawEnd == value); - case GSHWFixId::HalfBottomOverride: - return (config.UserHacks_HalfBottomOverride == value); - case GSHWFixId::HalfPixelOffset: return (config.UpscaleMultiplier <= 1.0f || config.UserHacks_HalfPixelOffset == value); @@ -782,10 +779,6 @@ void GameDatabaseSchema::GameEntry::applyGSHardwareFixes(Pcsx2Config::GSOptions& config.SkipDrawEnd = value; break; - case GSHWFixId::HalfBottomOverride: - config.UserHacks_HalfBottomOverride = value; - break; - case GSHWFixId::HalfPixelOffset: config.UserHacks_HalfPixelOffset = value; break; diff --git a/pcsx2/Pcsx2Config.cpp b/pcsx2/Pcsx2Config.cpp index 641ed69101..87b67e80e1 100644 --- a/pcsx2/Pcsx2Config.cpp +++ b/pcsx2/Pcsx2Config.cpp @@ -616,7 +616,6 @@ bool Pcsx2Config::GSOptions::OptionsAreEqual(const GSOptions& right) const OpEqu(SkipDrawStart) && OpEqu(UserHacks_AutoFlush) && - OpEqu(UserHacks_HalfBottomOverride) && OpEqu(UserHacks_HalfPixelOffset) && OpEqu(UserHacks_RoundSprite) && OpEqu(UserHacks_TCOffsetX) && @@ -814,7 +813,6 @@ void Pcsx2Config::GSOptions::LoadSave(SettingsWrapper& wrap) GSSettingIntEx(SkipDrawEnd, "UserHacks_SkipDraw_End"); SkipDrawEnd = std::max(SkipDrawStart, SkipDrawEnd); - GSSettingIntEx(UserHacks_HalfBottomOverride, "UserHacks_Half_Bottom_Override"); GSSettingIntEx(UserHacks_HalfPixelOffset, "UserHacks_HalfPixelOffset"); GSSettingIntEx(UserHacks_RoundSprite, "UserHacks_round_sprite_offset"); GSSettingIntEx(UserHacks_TCOffsetX, "UserHacks_TCOffsetX"); @@ -882,7 +880,6 @@ void Pcsx2Config::GSOptions::MaskUserHacks() UserHacks_NativePaletteDraw = false; UserHacks_DisableSafeFeatures = false; UserHacks_DisableRenderFixes = false; - UserHacks_HalfBottomOverride = -1; UserHacks_HalfPixelOffset = 0; UserHacks_RoundSprite = 0; UserHacks_AutoFlush = GSHWAutoFlushLevel::Disabled;