Qt/Patch: Cleanup Unused headers and formatting

This commit is contained in:
KamFretoZ
2026-03-08 21:17:37 +07:00
committed by lightningterror
parent 471a7203a5
commit f5524bab1b
3 changed files with 1 additions and 4 deletions
@@ -8,7 +8,6 @@
#include "Settings/GameCheatSettingsWidget.h"
#include "Settings/SettingsWindow.h"
#include "pcsx2/GameList.h"
#include "pcsx2/Patch.h"
#include "common/HeterogeneousContainers.h"
@@ -8,7 +8,6 @@
#include "SettingWidgetBinder.h"
#include "Settings/SettingsWindow.h"
#include "pcsx2/GameList.h"
#include "pcsx2/Patch.h"
#include "common/Assertions.h"
+1 -2
View File
@@ -24,7 +24,6 @@
#include <algorithm>
#include <cstring>
#include <memory>
#include <span>
#include <sstream>
#include <type_traits>
@@ -846,7 +845,7 @@ bool Patch::ReloadPatchAffectingOptions()
const AspectRatioType current_ar = EmuConfig.GS.AspectRatio;
const GSInterlaceMode current_interlace = EmuConfig.GS.InterlaceMode;
const float custom_aspect_ratio = EmuConfig.CurrentCustomAspectRatio;
// This is pretty gross, but we're not using a config layer, so...
AspectRatioType new_ar = Pcsx2Config::GSOptions::DEFAULT_ASPECT_RATIO;
const std::string ar_value = Host::GetStringSettingValue("EmuCore/GS", "AspectRatio",